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
RobertCressey
Frequent Visitor

Data Pipeline Error while decoding

Data that is written to my Datalake through a data pipeline can not be read using Spark. (even the autogenerated code when clicking open in notebook from the datalake)

 

Tables that have been written using a Data pipeline to a database table are then getting the following error message when opened in spark runtime 1.2 or 1.3. (the tables are readable in 1.1 however setting this causes other issues)

 

SparkRuntimeException: Error while decoding: java.lang.IllegalArgumentException: requirement failed: Mismatched minReaderVersion and readerFeatures. newInstance(class scala.Tuple3).

 

the data is coming from an on-prem SQL server, I see that other people had this issue with dataflow gen2 when it was first introduced before it was fixed for.

 

I believe this is a bug however if anyone has a workaround (other than using 1.1) that would be appreciated.

 

1 ACCEPTED SOLUTION
RobertCressey
Frequent Visitor

From MS support ticket:

 

Issue fixed - 

 updated to data gateway 3000.218.7 or newer.

 

Some tables issues persisted after a refresh however we assumed this was due to the way that checkpoints are saved in the json , so we dropped all the tables and re-imported and this fixed the issues.

View solution in original post

6 REPLIES 6
Nikos83
Frequent Visitor

We have exactly the same situation. We load data from Microsoft Dynamics 2012 on-premises using a pipeline (copy cmd). There is a gateway in between. The copy cmd ensures that the data is loaded into our data lakehouse (with the overwrite option). We use notebooks to transform the data. The error message does not occur immediately for us, nor is it reproducible. It just happens suddenly. I tried to execute the statement: ALTER TABLE MDDP_brons.bta_tob_fiscalcalendarperiod SET TBLPROPERTIES('delta.minReaderVersion' = '1', 'delta.minWriterVersion' = '3') on the table. However, this yields the same error message. When I drop the table and go through the pipeline again, the problem disappears. But it can also come back without any explanation on my end.

 

 

 

 

RobertCressey
Frequent Visitor

From MS support ticket:

 

Issue fixed - 

 updated to data gateway 3000.218.7 or newer.

 

Some tables issues persisted after a refresh however we assumed this was due to the way that checkpoints are saved in the json , so we dropped all the tables and re-imported and this fixed the issues.

Anonymous
Not applicable

Hi @RobertCressey ,

It was great to know that you were able to get to a resolution . We expect you to keep using this forum and also motivate others to do that same . You can always help other community members by answering to their queries

RobertCressey
Frequent Visitor

Hi, 

I have raised a ticket with Microsoft support.

 

however, this is the error message I'm getting. 

 

Screenshot 2024-04-17 124133.png

Anonymous
Not applicable

Hi @RobertCressey ,

I appreciate for opening a support ticket. 

Can you please provide the support ticket number as it would help us to track for more information.


In meantime can you please take a backup of the table and try to alter the property by running the SQL command below in Spark notebook:

ALTER TABLE <table-identifier> SET TBLPROPERTIES('delta.minReaderVersion' = '1', 'delta.minWriterVersion' = '3')
This might help to fix the issue. 

Can you please try and let me know?
 
Anonymous
Not applicable

Hi @RobertCressey ,

Thanks for using Fabric Community.
Can you please share the screenshot if what you are doing and error you are facing?

I can help you better if you can provide these details.

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.