March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have written the above code when iam running the code , Iam getting below error.
And also I have checked by restarting the kernal , getting the same error, and also I check the below code
spark.sql('''CREATE TABLE STUDENT(ID INT,NAME VARCHAR(20))'''), get the same above error,Can you help why Iam getting the error.
Solved! Go to Solution.
Hi all,
Please try add the following code to the top of notebook as the first cell.
%%pyspark
!echo "spark.trident.pbiApiVersion=v1">>/home/trusted-service-user/.trident-context
After testing this works for me.
This is a known issue and the Product group is working on deploying a fix.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi all,
Please try add the following code to the top of notebook as the first cell.
%%pyspark
!echo "spark.trident.pbiApiVersion=v1">>/home/trusted-service-user/.trident-context
After testing this works for me.
This is a known issue and the Product group is working on deploying a fix.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
I have run the same code in a cell but I'm still getting the error.
I'm having the same issue, the error is intermitent, same code cell sometimes run well and sometimes failed. Please let me know if you have a resolution. This error started showing up when we change capacity from 2 to 4. Has this something to do with it?
Hi all,
I have elevated this matter to the product group for further attention. I will provide an update in this thread as soon as I have new information.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Any updates?
Hi @poojitha_yeluru ,
Did you enable the Lakeshouse schema feature when you created Lakehouse?
I reproduced the same error.
For Lakehouse without this feature enabled, it has been tested to work fine:
Can you help me to confirm the above? Thks.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
I can confirm as well that reading/writing from Lakehouses without schema enabled works. The issue is with Lakehouses that have schema enabled. Why is this? Any resolution to this?
We did not have this issue up until now, even in the schema enabled Lakehouses.
any resolution? The same is happening for me, and I'm sure we did not change any permissions or something like that
User | Count |
---|---|
7 | |
4 | |
2 | |
2 | |
1 |
User | Count |
---|---|
13 | |
7 | |
5 | |
4 | |
3 |