QuestionQ1
VerifiedPrepare dataYou have an Azure Data Lake Storage Gen2 account named storage1 that contains a Parquet file named sales.parquet.
You have a Fabric tenant containing a workspace named Workspace1.
Using a notebook in Workspace1, you need to load the file’s content into the default lakehouse. The solution must ensure the content automatically appears as a table named Sales in Lakehouse explorer.
How should you complete the code?
Select
df = spark.read.parquet("abfss://fs1@storage1.dfs.core.windows.net/files/sales.parquet") df.write.mode("overwrite").format("").saveAsTable("")
Community Discussion