You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Francesco Gini (Jira)" <ji...@apache.org> on 2021/11/28 18:13:00 UTC

[jira] [Created] (CALCITE-4907) JdbcJoin does not convert Join with alwayt true/false RexNode

Francesco Gini created CALCITE-4907:
---------------------------------------

             Summary: JdbcJoin does not convert Join with alwayt true/false RexNode
                 Key: CALCITE-4907
                 URL: https://issues.apache.org/jira/browse/CALCITE-4907
             Project: Calcite
          Issue Type: Bug
          Components: jdbc-adapter
    Affects Versions: 1.28.0
            Reporter: Francesco Gini
            Assignee: Francesco Gini


JdbcJoin does not handle cases where the condtion is a RexNode that it is always true or false. However, SqlImplementor is coded to handle those conditions (see SqlImplementor.convertConditionToSqlNode).

Specifically a cross join is internally represented as a LogicalJoin with condition true which is not pushed down into the db.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)