[CALCITE-6296] Support IS NULL in Arrow adapter#3858
Conversation
There was a problem hiding this comment.
LGTM
Edit: there seems to a problem with Sonar in CI which doesn't look like a transient failure, can you take a look @timgrein? Did you experience any issues locally?
arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowAdapterTest.java
Show resolved
Hide resolved
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTranslator.java
Outdated
Show resolved
Hide resolved
I couldn't reproduce it locally. I ran the following commands:
and
Both succeeded without the issue from CI, I'll check, if it appears again. |
You can look at the cli log. |
Thanks for the context! Seems like it succeeded now. |
arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowAdapterTest.java
Show resolved
Hide resolved
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTranslator.java
Outdated
Show resolved
Hide resolved
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTable.java
Outdated
Show resolved
Hide resolved
arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowAdapterTest.java
Outdated
Show resolved
Hide resolved
arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowAdapterTest.java
Show resolved
Hide resolved
asolimando
left a comment
There was a problem hiding this comment.
Few minor changes emerged during review, let's address them, but they are minor and we are converging
Thanks for the detailed review @asolimando, already helped a lot! Addressed your changes, let me know, if there's something else. |
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTranslator.java
Show resolved
Hide resolved
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTranslator.java
Outdated
Show resolved
Hide resolved
|
Mostly looks good, just a few minor comments |
arrow/src/main/java/org/apache/calcite/adapter/arrow/ArrowTranslator.java
Show resolved
Hide resolved
asolimando
left a comment
There was a problem hiding this comment.
LGTM, one final nitpick but it's optional, all other comments seem to have been addressed.
|
@timgrein, can you please squash the commits into a single one, having "[CALCITE-6296] Support IS NULL in Arrow adapter" as commit message? After that I will merge, thanks! |
|





Add the unary
isnullGandiva operator toArrowTranslator.