I'm trying to save a dataframe in Databricks using this code:
df.write.format("delta").save("abfss://my_container@my_storage.dfs.core.windows.net/my_path/filename.snappy.parquet")
But this creates additional subfolder filename.snappy.parquet
, so the file is stored like my_path/filename.snappy.parquet/filename.snappy.parquet
instead of desired my_path/filename.snappy.parquet
.
How to save it without this additional unneeded subfolder?