With mode('overwrite')
set during a saveAsTable()
operation:
df1.write.format('parquet').mode('overwrite').saveAsTable(
'spark_no_bucket_table1')
Then why does saving a table fail?
pyspark.sql.utils.AnalysisException: Can not create the managed
table('`spark_no_bucket_table1`').
The associated location('file:experiments/spark-warehouse/spark_no_bucket_table1')
already exists.