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
ARROW-12858: [C++][Gandiva] Add isNull, isTrue, isFalse, isNotTrue, IsNotFalse and NVL functions on Gandiva #10385
Conversation
a0e0efd
to
b0adc47
Compare
@@ -84,6 +84,17 @@ std::vector<NativeFunction> GetMathOpsFunctionRegistry() { | |||
BINARY_GENERIC_SAFE_NULL_IF_NULL(truncate, {"trunc"}, decimal128, int32, | |||
decimal128), | |||
|
|||
NativeFunction("nvl", {}, DataTypeVector{int32(), int32()}, int32(), |
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: can use an existing macro for this
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.
Solved!
|
||
NUMERIC_BOOL_DATE_FUNCTION(NVL) | ||
|
||
#undef VALIDITY_OP |
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.
undef NVL?
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.
Solved!
176ba05
to
4fc2edd
Compare
4fc2edd
to
d711109
Compare
@projjal Needs a rebase. |
d711109
to
5a87f22
Compare
@anthonylouisbsb @jvictorhuguenin Can you rebase |
@projjal I will do it |
bd3dbe6
to
1061e03
Compare
@anthonylouisbsb looks like there is still a conflict. |
1061e03
to
03f6ed4
Compare
03f6ed4
to
a75665f
Compare
Benchmark runs are scheduled for baseline = bdb064b and contender = a6c81e6. a6c81e6 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
No description provided.