Skip to content

fix: preserve multi-dialect golden_sql for BIRD#262

Merged
IsmailMehdi merged 3 commits intoGoogleCloudPlatform:mainfrom
aseering:fix-bird-multi-dialect
Mar 18, 2026
Merged

fix: preserve multi-dialect golden_sql for BIRD#262
IsmailMehdi merged 3 commits intoGoogleCloudPlatform:mainfrom
aseering:fix-bird-multi-dialect

Conversation

@aseering
Copy link
Copy Markdown
Contributor

Update load_dataset_from_bird_format to pass the golden_sql dictionary directly to EvalInputRequest instead of hardcoding to the first configured dialect.

This enables true multi-engine evaluation on datasets like BIRD where golden SQL differs per dialect. Added fallback logic to map a flat 'SQL' string across all requested dialects if a dictionary isn't available. It addresses a regression introduced in one of my previous PRs.

Update `load_dataset_from_bird_format` to pass the `golden_sql` dictionary directly
to `EvalInputRequest` instead of hardcoding to the first configured dialect.
This enables true multi-engine evaluation on datasets like BIRD where golden SQL
differs per dialect. Added fallback logic to map a flat 'SQL' string across all
requested dialects if a dictionary isn't available.
@IsmailMehdi IsmailMehdi merged commit 12ccf98 into GoogleCloudPlatform:main Mar 18, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants