The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hello,
in notebook1, I can read the .csv file into a dataframe
in notebook2, can not read the same .csv file. --> error is as per below
this is what I am doing in fabric notebook
path = 'Files/pathname/year=2024/month=08/day=16/xyz.csv'
df=spark.read.csv(path)
display(df)
error:
-------------------------------
Solved! Go to Solution.
I assume both Notebooks are in the same Workspace and both have the same Lakehouse attached as the default?
I assume you are using the exact same code to read the .csv file; nothing different?
Are they both running under the same spark configuration?
Are there any libraries being loaded into 1 Notebook and not the other?
thank you. the problem was not having the correct lakehouse.
I assume both Notebooks are in the same Workspace and both have the same Lakehouse attached as the default?
I assume you are using the exact same code to read the .csv file; nothing different?
Are they both running under the same spark configuration?
Are there any libraries being loaded into 1 Notebook and not the other?
both Notebooks are in the same Workspace - yes
and both have the same Lakehouse attached as the default? - how do I check this?
I assume you are using the exact same code to read the .csv file; nothing different? - correct
Are they both running under the same spark configuration? - correct
Are there any libraries being loaded into 1 Notebook and not the other? - no
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |