You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/05/01 22:36:00 UTC

[jira] [Commented] (IMPALA-13517) Calcite Planner: fix || operator (both concat and or)

    [ https://issues.apache.org/jira/browse/IMPALA-13517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948779#comment-17948779 ] 

ASF subversion and git services commented on IMPALA-13517:
----------------------------------------------------------

Commit 30979e7d306beac65dadeedb11f3f402c2261bba in impala's branch refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=30979e7d3 ]

IMPALA-13517: Support overloaded || operator

The || operator is used for both "or" and "concat". A new
Impala custom operator is created to handle both of them,
treating the precedence of the operator as if it's an "or".

The "or" is chosen if both parameters are null or boolean, as
taken from logic in CompoundVerticalBarExpr.

At convertlet time (when converting from SqlNode to RelNode),
the real operator is placed into the RexNode.

Change-Id: Iabaf02e84b769db1419bd96e1d1b30b8f83d56f5
Reviewed-on: http://gerrit.cloudera.org:8080/22105
Reviewed-by: Steve Carlin <sc...@cloudera.com>
Tested-by: Steve Carlin <sc...@cloudera.com>


> Calcite Planner: fix || operator (both concat and or)
> -----------------------------------------------------
>
>                 Key: IMPALA-13517
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13517
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org