We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to run a query which ends with a single comment
Incorrect syntax error
Create simple model. For example:
select * from {{ source('bronze', 'my_test_table') }} -- My new comment
The genereated SQL has an additional statement on the same line as the comment, causing the error.
select * from renamed -- My new comment order by (select null) offset 0 rows fetch first 500 rows only
('42000', "[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Incorrect syntax near '0'. (102) (SQLExecDirectW)")
Debian GNU/Linux 11 (bullseye)
1.8.3
fabric
v0.41.4
The text was updated successfully, but these errors were encountered:
@ndeunk : Are you able to run this query with dbt show?
dbt show
Sorry, something went wrong.
mdesmet
No branches or pull requests
Expected behavior
Be able to run a query which ends with a single comment
Actual behavior
Incorrect syntax error
Steps To Reproduce
Create simple model. For example:
The genereated SQL has an additional statement on the same line as the comment, causing the error.
Log output/Screenshots
('42000', "[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Incorrect syntax near '0'. (102) (SQLExecDirectW)")
Operating System
Debian GNU/Linux 11 (bullseye)
dbt version
1.8.3
dbt Adapter
fabric
dbt Power User version
v0.41.4
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: