Skip to content

fix(query): surface DataFusion error detail and hint for reserved-wor…#8

Merged
SpollaL merged 1 commit into
masterfrom
fix/surface-datafusion-sql-errors
May 5, 2026
Merged

fix(query): surface DataFusion error detail and hint for reserved-wor…#8
SpollaL merged 1 commit into
masterfrom
fix/surface-datafusion-sql-errors

Conversation

@SpollaL
Copy link
Copy Markdown
Owner

@SpollaL SpollaL commented May 5, 2026

…d columns

DataFusion lowercases unquoted SQL identifiers, so columns like ENDPERIOD, VARIABLE, or VALUE silently fail with a non-obvious "No field named" error. Replace the generic .context() wrapper with map_err to always surface the full DataFusion message, and add a double-quoting hint when the error is a field-not-found.

…d columns

DataFusion lowercases unquoted SQL identifiers, so columns like ENDPERIOD,
VARIABLE, or VALUE silently fail with a non-obvious "No field named" error.
Replace the generic .context() wrapper with map_err to always surface the
full DataFusion message, and add a double-quoting hint when the error is
a field-not-found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@SpollaL SpollaL merged commit 66dec9a into master May 5, 2026
1 check failed
@SpollaL SpollaL deleted the fix/surface-datafusion-sql-errors branch May 5, 2026 14:07
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