forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generic in-predicate for complex types (facebookincubator#7545)
Summary: This fixes a bug where the generic in-predicate, which is employed when the in-list is not a constant, can return null if the input contains a null even though the in-list is empty. The correct behavior is that it should throw an error for the empty in-list. Fixes facebookincubator#7533 Pull Request resolved: facebookincubator#7545 Test Plan: Added unit test Reviewed By: mbasmanova Differential Revision: D51277276 Pulled By: bikramSingh91 fbshipit-source-id: 65373617327da0a3432dbc22c5c7bf4fd34ab2b8
- Loading branch information
1 parent
31111e7
commit 1c5387d
Showing
2 changed files
with
57 additions
and
6 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