Forum Discussion
jashfabric
2 years agoHelper II
Cannot query multiple files in Lakehouse
Hi I am new to Fabric and experimenting with notebooks. How can I read multiple files present in a Lakehouse using a notebook? I tried to read the csv files using this code, but receiving an error:...
- Anonymous2 years ago
Hi jashfabric
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files")
display(df)
I have created a repro for you.Hope this helps. Please let me know if you have any other questions.
- Anonymous2 years ago
Hi jashfabric
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.
jashfabric
2 years agoHelper II
Thank you so much Anonymous !
That helped me. Thanks for the detail explaination.
Anonymous
2 years agoNot applicable
Hi jashfabric
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.