-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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::mergeWith() method #119
Conversation
@mbasmanova has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
velox/type/Filter.cpp
Outdated
case FilterKind::kAlwaysFalse: | ||
case FilterKind::kIsNull: | ||
return std::make_unique<AlwaysFalse>(); | ||
case FilterKind::kIsNotNull: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe this can be moved up to be next to kAlwaysTrue, so the fall through in both is same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Moved.
28d5a95
to
b00b71f
Compare
@mbasmanova has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
999e61a
to
ff93f0c
Compare
@mbasmanova has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Add a way to combine two filters using 'AND' logic. This commit implements the new method for all filters except BytesRange, BigintMultiRange and MultiRange. The support for these filters will come in a follow-up PR.
ff93f0c
to
6baf3a6
Compare
@mbasmanova has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@mbasmanova merged this pull request in 95911db. |
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - Handling case of merging multiple byte ranges which results in MultiRange as the output - Merging MultiRange with MultiRange
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - Handling case of merging multiple byte ranges which results in MultiRange as the output - Merging MultiRange with MultiRange
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - Handling case of merging multiple byte ranges which results in MultiRange as the output - Merging MultiRange with MultiRange
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119 and introduces mergeWith implmentation for BytesRange and BytesValues. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119. TODO: - (New PR) Handling case of merging multiple byte ranges which results in MultiRange as the output
This commit is a follow up of facebookincubator#119.
This commit is a follow up of facebookincubator#119.
) Summary: Implement BytesRange::mergeWith and BytesValues::mergeWith This commit is a follow up of facebookincubator#119. Pull Request resolved: facebookincubator#297 Reviewed By: mbasmanova Differential Revision: D31444325 Pulled By: atanu1991 fbshipit-source-id: 3e8d8bb2645455fcaf24ebd18d6c122613221958
Add a way to combine two filters using 'AND' logic.
This commit implements the new method for all filters except BytesRange
and MultiRange. The support for these filters will come in a follow-up PR.