Skip to content
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 issue with conflicting max_ids #549

Merged
merged 5 commits into from
Apr 24, 2023
Merged

Fix issue with conflicting max_ids #549

merged 5 commits into from
Apr 24, 2023

Conversation

joshua-oss
Copy link
Contributor

Addresses #544

When multiple tables exist in the metadata file, with different max_ids, the query was properly setting to reservoir sample as per the metadata for that specific table, but the private_reader would default to using the largest max_id of all the tables. This inconsistency was correctly caught by an assert, but setting this value in private_reader was unnecessary, since there is no reason to set max_ids before the reader even knows what table will be queried.

@joshua-oss joshua-oss merged commit f20614d into main Apr 24, 2023
@joshua-oss joshua-oss deleted the max_id_fix branch May 12, 2023 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant