AnalysisException: CREATE-TABLE-AS-SELECT cannot create table with location to a non-empty directory s3://mys3/my_db/my_table . To allow overwriting the existing non-empty directory, set 'spark.sql.legacy.allowNonEmptyLocationInCTAS' to true.
Now we put the first conf in the last position, and it resolves our error:
Describe the bug
The order of spark conf impacts the run
Steps To Reproduce
profiles.yml
This conf produces this error:
Now we put the first conf in the last position, and it resolves our error:
Expected behavior
Order does not impact ?
System information
dbt-glue:1.6.5 python: 3.9.11