Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
cfccai
Advocate II
Advocate II

cannot retreive lakehouse table schema(columns)

hello,

I am using Fabric lakehouse to store MS SQL server cdc tables(integrate from on-prem SQL server)

it works good for a long time. Today it suddently shows me this: 

cfccai_0-1733229111383.png

Click on details:

cfccai_1-1733229559855.png

While the error does not impact the table reading. I can successfuly query the tables or read the tables thru notebook.

 

Any thoughts on this?

Thanks a lot.

11 REPLIES 11
Anonymous
Not applicable

Hi @cfccai ,

 

Is my follow-up just to ask if the problem has been solved?

 

If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?

 

Thank you very much for your cooperation!

 

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!

not fixed. still got problem.

Anonymous
Not applicable

Hi @cfccai ,

 

Thanks for the reply from AndyDDC .

 

This error occurs when the Delta table has accumulated at least 100 transaction logs since the last checkpoint.

 

Run this code in your notebook and then refresh the Lakehouse table where the error occurs to check if it is working correctly:

%%spark

import org.apache.spark.sql.delta.DeltaLog

DeltaLog.forTable(spark, “Tables/yourtablenamehere”).checkpoint()

 

Here's a user with the same problem as you, check his reply to see if it helps you.

Error DeltaTableIsInfrequentlyCheckpointed when ac... - Page 2 - Microsoft Fabric Community

 

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!

Thanks Yang.

I run above code and got below error msg:

cfccai_0-1733295359306.png

 

Anonymous
Not applicable

Hi @cfccai ,

 

This error usually occurs due to a permissions issue.

 

Double-check that the name is entered correctly; any misspellings or incorrect references can cause permissions issues.

 

Ensure that the user or service principal running the Spark job has the Storage Blob Data Contributor role for the ADLS Gen2 storage account.

 

For more details, please see:

Handle Livy errors on Apache Spark in Synapse - Azure Synapse Analytics | Microsoft Learn

 

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!

hello, Yang

Thanks for you reply.

1. You can see clearly the table name is exactly the same as the name on the left side of the screen. No mistake.

2. I can run other all spark jobs successfully in the same notebook same Fabric worksapce. Why do I need "the Storage Blob Data Contributor role for the ADLS Gen2 storage account" for running this code block you mentioned? 

Anonymous
Not applicable

Hi @cfccai ,

 

Yes, I can see that the table name is exactly the same as the name on the left side of the screen.

 

I can't reproduce your error, the solution mentioned is because the solution given for the same error message mentioned in the official documentation is that one, which didn't help you unfortunately.

 

Due to the fact that “you can successfully run all other Spark jobs from the same laptop” and that “it has worked for a long time before and this error is recent”, it is not possible to determine what the problem is. I think you can create a support ticket for free and a dedicated Microsoft engineer will resolve the issue for you.

 

It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

 

The link of Power BI Support:  https://powerbi.microsoft.com/en-us/support/

 

For how to create a support ticket, please refer to How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

 

Thank you for your understanding.

 

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!

AndyDDC
Super User
Super User

hello @AndyDDC 

Thanks for you suggestion. 

I tried to run maintenance for my delta table:

cfccai_1-1733280309232.png

cfccai_2-1733280340970.png

 

And it always failed like below shown.

cfccai_0-1733280231457.png

Click Details :

cfccai_3-1733280391983.png

 

How did the original tables get created?  Are they native lakehouse delta tables?

They are originally pulled from SQL server CDC tables.  They are created by Fabric pipeline thru a copy activity.

cfccai_0-1733315437827.png

 

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors