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 September 15. Request your voucher.
Hi all,
I have an issue working with the delta table in Lakehouse when the data is created in a schema other than dbo. The table is created under the schema by SourceDF.write.format("delta").mode("overwrite").save(TablePath), however, I get an error on reading the table. Has anyone tested this before?
Hi @Ali_CloudBI ,
Thanks for the reply from lbendlin .
I get an error when I query the table below the dbo using your syntax.
After switching to this syntax, it runs fine.
%%sql
USE daisyTest1;
SELECT * FROM products LIMIT 1000.
This syntax can not specify the schema in the red box, only the blue box.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
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!
I know it works without schema, my intention is to create different schemas and create the related tables under each own schema
can you run queries against dbo tables?
Maybe omit the db name?
Hi @lbendlin , same error when use dbo as the schema, however it works fine when use LakehouseName.TableName. enabling schema in Lakehouse still in preview and looks like this a bug.
If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .
User | Count |
---|---|
16 | |
13 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
24 | |
20 | |
18 | |
13 |