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
Error message showing that the dbt-fabric adapter dispatches wrong query to Fabric Synapse Warehouse
dbt-fabric
select * from source limit 5
The dispatched query should be
select top 5 * from ..
dbt show --select "stg_source__entity.sql"
with source as ( select * from "Warehouse"."dbo"."source_entity" ), renamed as ( select "column name 1" from source ) select * from renamed limit 5
11:31:22 Encountered an error: Runtime Error Database Error in model stg_source__entity (models\staging\stg_source__entity.sql) ('42000', "[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Incorrect syntax near '5'. (102) (SQLExecDirectW)")
- OS: Windows 11 - Python: 3.12.7 - dbt:1.8.7
other (mention it in "Additional Context")
from dbt --version
dbt --version
Plugins: - fabric: 1.8.7
The text was updated successfully, but these errors were encountered:
Downgrading to dbt-core==1.7.18 seems to fix for now
Sorry, something went wrong.
I was not aware of the different vendors in this scenario, seems that Microsoft is tracking this:
microsoft/dbt-fabric#216
Thanks for reaching out @tabit01 !
Closing this one in favor of microsoft/dbt-fabric#216
No branches or pull requests
Is this a new bug in dbt-core?
Current Behavior
Error message showing that the
dbt-fabric
adapter dispatches wrong query to Fabric Synapse WarehouseExpected Behavior
The dispatched query should be
Steps To Reproduce
dbt show --select "stg_source__entity.sql"
Relevant log output
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
from
dbt --version
Plugins:
- fabric: 1.8.7
The text was updated successfully, but these errors were encountered: