You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2d5ffd3
Browse filesBrowse the repository at this point in the historyBrowse files
fix(duckdb): report an annotated statement that cannot be converted
The DuckDB parser skipped every statement that converted to ast.TODO. The
span of a statement includes the comments before it, so a "-- name:"
annotation was lost with the statement. sqlc generate exited 0, printed
nothing and generated no method for it.
Keep skipping a statement that has no query annotation (INSTALL, LOAD
and SET in a schema file). Return an error for a statement that has one,
and point it at the annotation.
Adds analyze_unsupported_statement and a control case,
analyze_skipped_schema_statements.
0 commit comments