-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Prevent warning spam when reading tables generated by delta 1.2.1 #651
fix: Prevent warning spam when reading tables generated by delta 1.2.1 #651
Conversation
That's sounds like acceptable behavior to me for now. Until we have a use for it, no need to read that field. Do we know what the motivation was for adding it? I don't see any pull request or discussion associated with that commit 😞 |
I was also wondering this... possibly @scottsand-db can enlighten us? |
Thanks for reviewing @wjones127. Do you think we could get this into the new Python release that looks imminent #640 ? |
Hi @Tom-Newton , upon reviewing this further, I'm curious if you are actually seeing edit: or parquet files. Would appreciate if you could provide any more details on your end, thanks! |
I'm only seeing it in the checkpoints and it always seems to be null. For example if you run the script I wrote for reproducing it (using delta 1.2.1) then inspect a random remove action in the check point file:
The |
I've made a PR to fix this here: delta-io/delta#1230 |
Description
delta-io/delta@6f39630 added a new numRecords field on remove actions. To prevent a large spam of warnings when reading tables with this new field delta-rs needs to be updated to accept this field.
I've just gone for the simplest possible fix which is to just ignore
numRecords
when reading. I had a go at making it read the field but being a novice I didn't really know what the impact of those changes would be.Related Issue(s)
numRecords
for remove action #614