Ryan_Chynoweth
Databricks Employee
Databricks Employee

What type of file? Is the file stored in a storage account?

Typically, you would read and write data with something like the following code:

# read a parquet file
df = spark.read.format("parquet").load("/path/to/file")
 
# write the data as a file
df.write.format("delta").save("/path/to/delta/table")
 
# write the data as a managed table
df.write.format("delta").saveAsTable("table_name")
 
 

Please reference this documentation for some more information.