I have a CSV file in my blob storage. I want to download the file. The weird things is, I can't actually see the file. The file CSV is created by a Python job and converted into a Scala dataframe.
When I run these 2 lines of code:
# convert python df to spark df and export the spark df
spark_df = spark.createDataFrame(df)
## Write Frame out as Table
spark_df.write.csv("dbfs:/rawdata/corp/AAA.csv")
I get this error:
org.apache.spark.sql.AnalysisException: path dbfs:/rawdata/corp/AAA.csv already exists.;
The weird thing is that I can't see the file when I'm using Azure Storage Explorer. Apparently the file exists, even though I can't see it. How can I download this CSV file? I would like to use Databricks, preferably, or maybe something else, if someone here can suggest a better option.
Thanks.