Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2021 08:41 AM
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.