Hey i am a user of dbt core with amazon athena as a db
I am trying to run a python model in dbt and run into a pyspark error.
The code I am trying to run is really simple (for debugging) , just pointing a ref and trying to return the same dataframe and create a new table with it.
def model(dbt, session):
df = dbt.ref("dim_users")
return df
The error I am getting is:
pyspark.sql.utils.ParseException:
Possibly unquoted identifier dwh-stagingdb detected. Please consider quoting it with back-quotes asdwh-stagingdb
(line 1, pos 3)
Anyone can please assist ?
Thanks,
ido