-
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.
Fix the extract values function sigature when used with filter proces…
…s in selective reader (#10956) Summary: Pull Request resolved: #10956 The processFilter depends on the exact value callback type match to detect if the filter to drop value or not. If not drop value, it will add value to the result buffer of the selective reader. For null filter type, it add nulls to the null result buffer of the selective reader. The recent refactor changes the extract value callback from T to const T& which breaks the comparison. It tries to add value to the null result buffer which is not initialized in the prepare read of the selective reader as the reader is a filter only reader. This PR reverts the signature change and verified with both failed query shadow and a new unit test to repro this. We will refactor this later to avoid a copy extract value callback later Reviewed By: Yuhta Differential Revision: D62394606 fbshipit-source-id: 5137e2c9c2f935cca1c08a16d42c8d392e0e7827
- Loading branch information
1 parent
55931e7
commit ef251d4
Showing
6 changed files
with
65 additions
and
22 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
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
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