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
I'm hitting this error as part of a dbt run in GlareDB Cloud
Database Error in model nyc_sales_jan_2019_feb_2019 (models/demo/nyc_sales_jan_2019_feb_2019.sql)
Optimizer rule 'common_sub_expression_eliminate' failed
caused by
Schema error
Steps to reproduce:
Create initial table:
CREATETABLEIF NOT EXISTS dbt_nyc_sales ASSELECT*FROM
read_parquet('https://github.com/GlareDB/tutorial_data/raw/main/nyc_sales/sale_year=2019/sale_month=1/f55363e2587849bcb25c057be706c69d-0.parquet')"
Oddly enough, in that last query, unioning the SELECT * FROM "rough_glitter"."public"."staging_nyc_sales_with_prehook" works fine. It also works fine if you create that as a view instead of a table.
The text was updated successfully, but these errors were encountered:
Schema error makes me think that somehow the types in delta as we write them, or the case of the field names has changed. is there a case difference issue in our table vs the upstream type?
Description
I'm hitting this error as part of a dbt run in GlareDB Cloud
Steps to reproduce:
Oddly enough, in that last query, unioning the
SELECT * FROM "rough_glitter"."public"."staging_nyc_sales_with_prehook"
works fine. It also works fine if you create that as a view instead of a table.The text was updated successfully, but these errors were encountered: