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

Add filter pushdown example (#1191) #2201

Closed
wants to merge 3 commits into from

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented Jul 27, 2022

Draft as makes APIs public that we probably want to keep private until we have better test coverage #2198

Adds an example of filter evaluation as described in #1191

Possibly relates to #2198

@github-actions github-actions bot added the parquet Changes to the parquet crate label Jul 27, 2022
@@ -35,7 +35,7 @@ pub fn read_columns_indexes<R: ChunkReader>(
let length = lengths.iter().sum::<usize>();

//read all need data into buffer
let mut reader = reader.get_read(offset, reader.len() as usize)?;
let mut reader = reader.get_read(offset, length)?;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were actually bugs that were only working because the ChunkReader implementation for File doesn't validate the end offset is actually within the range of the file.

* Change CI names to match crates

* Update .github/workflows/arrow_flight.yml

Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>

Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
@tustvold
Copy link
Contributor Author

tustvold commented Jul 27, 2022

Rebasing on top of #2199 appears to fix the "failed to skip rows" issue, now just to work out why the data is incorrect 😅

Edit: I think the issue might be in the filtering code 🤦

@tustvold
Copy link
Contributor Author

tustvold commented Aug 5, 2022

Closing in favor or #2335

@tustvold tustvold closed this Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants