Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2022 02:46 PM
@Raman Gupta - For the error mentioned
Error in SQL statement: AnalysisException: Cannot create table ('`spark_catalog`.`retaildb`.`sales_order1`'). The associated location ('dbfs:/user/hive/warehouse/retaildb.db/sales_order1') is not empty but it's not a Delta tablecould you please manually clean up the data directory specified in the error message? using the below command and then try to create a table.
%scala
dbutils.fs.rm("<path-to-directory>", true)