Forum Discussion
Anonymous
2 years agoNot applicable
Mismatched minReaderVersion and readerFeatures
1. I used csv file to create table `bot` in lakehouse, it had 3 rows in the begining. 2. I created a notebook to get the latest id in table `bot`, the code is as below: # Welcome to yo...
- 2 years ago
Hi Anonymous ,
You can 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.But as you said, this looks like a bug since it had been working in previous executions.
govindarajan_d
2 years agoSuper User
Hi Anonymous ,
You can 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.
But as you said, this looks like a bug since it had been working in previous executions.
VannieS
2 years agoNew Member
what if this table in the lakehouse is a shortcut? Does this code run at the source?