cloudera / dbt-impala

A dbt adapter for Apache Impala & Cloudera Data Platform
Apache License 2.0
24 stars 15 forks source link

Hyphen error #148

Open ofurtuna opened 1 year ago

ofurtuna commented 1 year ago

Hello! I am running a sample model with dbt-impala on CDP using AWS. The view (stored under models/src/) is materialized, but I get this error which seems to have to do with the hyphen that is automatically added to the name:

Runtime Error in model src_reviews-checkpoint (models/src/.ipynb_checkpoints/src_reviews-checkpoint.sql) 20:34:09 Unable to establish connection to Impala server: ParseException: Syntax error in line 7: 20:34:09 dbname.src_reviews-checkpoint__dbt_tmp

Could you recommend a workaround? Thank you very much!

tovganesh commented 1 year ago

Is the file models/src/.ipynb_checkpoints/src_reviews-checkpoint.sql created by you or is created when you used Jupiter notebook. If this is created using Jupiter notebook, you could probably safely delete .ipynb_checkpoints folder, or to be extra safe move it else where before executing dbt run.