Skip to content

Fix ORDER BY alias mismatch in eval gold query#2

Merged
mrdmnd merged 1 commit intomainfrom
fix/eval-query-alias-typo
Feb 19, 2026
Merged

Fix ORDER BY alias mismatch in eval gold query#2
mrdmnd merged 1 commit intomainfrom
fix/eval-query-alias-typo

Conversation

@mrdmnd
Copy link
Collaborator

@mrdmnd mrdmnd commented Feb 19, 2026

Summary

  • Fixes a bug in both evals_easy.json and evals_hard.json where the constructors gold query used races_both_started in the ORDER BY clause, but the SELECT aliases the column as races_at_least_two_started. This caused a DuckDB Binder Error at execution time.

Test plan

  • Verified the original query fails with Binder Error: Referenced column "races_both_started" not found in FROM clause!
  • Verified all 128 gold queries (64 easy + 64 hard) execute successfully after the fix

Made with Cursor

The constructors query in both evals_easy.json and evals_hard.json
used `races_both_started` in the ORDER BY clause, but the SELECT
aliases the column as `races_at_least_two_started`. This caused a
DuckDB Binder Error at execution time.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mrdmnd mrdmnd merged commit 72d0194 into main Feb 19, 2026
3 checks passed
@mrdmnd mrdmnd deleted the fix/eval-query-alias-typo branch February 19, 2026 23:25
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.

1 participant