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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
mdoss
Frequent Visitor

Reading shortcut table from notebook erroring DELTA_FEATURES_PROTOCOL_METADATA_MISMATCH

I have a data warehouse table and have a shortcut in Lakehouse to read from it. This setup works perfectly in my development workspace. However, after deploying it to production, I noticed that the shortcut points to my dev warehouse table. So I dropped the Lakehouse shortcut in prod and recreated it to connect to the production data warehouse table. While I can open and view the data from the production lakehouse shortcut table, I encounter an error when trying to read from the notebook using the following code:

 

config_query = f"SELECT * FROM AF_DE_LH_Bronze.dbo.SCConfig"

config_df = spark.sql(config_query)

 

This error out with the following.

Py4JJavaError: An error occurred while calling o341.sql. : org.apache.spark.sql.delta.DeltaTableFeatureException: [DELTA_FEATURES_PROTOCOL_METADATA_MISMATCH] Unable to operate on this table because the following table features are enabled in metadata but not listed in protocol: invariants.

 

Has anyone experienced a similar issue? If so, how did you resolve it? Thanks.

 

1 ACCEPTED SOLUTION
mdoss
Frequent Visitor

I fixed this issue by updating a row in data warehouse table. This doesn't make sense and not sure why this is necessary. 

 

update dbo.ConfigETL

set ConfigId = 9
where ConfigId = 9

View solution in original post

1 REPLY 1
mdoss
Frequent Visitor

I fixed this issue by updating a row in data warehouse table. This doesn't make sense and not sure why this is necessary. 

 

update dbo.ConfigETL

set ConfigId = 9
where ConfigId = 9

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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