-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the offset when we filter out all values of a Row column in Se…
…lectiveStructColumnReader (#6575) Summary: Pull Request resolved: #6575 SelectiveStructColumnReader has logic to exit early if none of the values pass a pushed down filter. Unfortunately, we're missing the updates to the offsets when we do this. This results in us either trying to re- skip the values in the children when we read the next batch or reading to far ahed in the nulls buffer for the Row which leads to attempting to read off the end of the buffer when we get to the end of the stripe. The fix is just to make sure we update the offsets before returning. Reviewed By: Yuhta Differential Revision: D49285600 fbshipit-source-id: ed370b3702ad771c2885ab71f481fcfd1ee39084
- Loading branch information
1 parent
812280c
commit 02ea91a
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters