-
Notifications
You must be signed in to change notification settings - Fork 494
ORC-1884: [C++] Add a maybe() API to the SearchArgumentBuilder #2207
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
base: main
Are you sure you want to change the base?
Conversation
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.
Thank you for making a PR.
For the following claims, It seems unclear to me because there is no actual test case.
Allow the insertion of an expression tree that is currently unsupported.
I'd like to recommend the following.
- Revert the change on the existing test case.
- Add a new test case which shows the claim, "the insertion of an expression tree that is currently unsupported".
In general, your new test case should verify your code contribution. For example, the new test case should fail without your patch. AFAIK, this PR only adds .maybe()
to the existing successful test cases. So, it's improper to validate this PR's contribution.
Is |
|
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.
LGTM
Hi, Yuanping (@ffacs), if you think it's okay, you can merge this. Feel free to merge this PR because I removed my review here. 😄 |
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.
+1 LGTM
What changes were proposed in this pull request?
Add a maybe() API to the SearchArgumentBuilder to allow the insertion of an expression tree that is currently unsupported.
Why are the changes needed?
To enhance the SearchArgumentBuilder API with a new method called maybe(), we can create a SearchArgument tree for scenarios that may not be adequately addressed by existing methods.
How was this patch tested?
Uts in TestSearchArgument.cc can cover this patch.
Was this patch authored or co-authored using generative AI tooling?
NO