[jira] [Updated] (CALCITE-4907) JDBC adapter cannot push down join ON TRUE (cartesian product)
[ https://issues.apache.org/jira/browse/CALCITE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-4907: - Summary: JDBC adapter cannot push down join ON TRUE (cartesian product) (was: JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE) > JDBC adapter cannot push down join ON TRUE (cartesian product) > --- > > 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 >Priority: Major > Labels: pull-request-available > Fix For: 1.31.0 > > Time Spent: 3h > Remaining Estimate: 0h > > JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian > product) or ON FALSE. This results in implementing the join in memory via > _EnumerableNestedLoopJoin_ which is a less efficient implementation. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (CALCITE-4907) JDBC adapter cannot push down join ON TRUE (cartesian product)
[ https://issues.apache.org/jira/browse/CALCITE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-4907: - Description: JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian product). This results in implementing the join in memory via _EnumerableNestedLoopJoin_ which is a less efficient implementation. (was: JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian product) or ON FALSE. This results in implementing the join in memory via _EnumerableNestedLoopJoin_ which is a less efficient implementation.) > JDBC adapter cannot push down join ON TRUE (cartesian product) > --- > > 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 >Priority: Major > Labels: pull-request-available > Fix For: 1.31.0 > > Time Spent: 3h > Remaining Estimate: 0h > > JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian > product). This results in implementing the join in memory via > _EnumerableNestedLoopJoin_ which is a less efficient implementation. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (CALCITE-4907) JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE
[ https://issues.apache.org/jira/browse/CALCITE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-4907: - Fix Version/s: 1.31.0 > JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE > --- > > 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 >Priority: Major > Labels: pull-request-available > Fix For: 1.31.0 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian > product) or ON FALSE. This results in implementing the join in memory via > _EnumerableNestedLoopJoin_ which is a less efficient implementation. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (CALCITE-4907) JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE
[ https://issues.apache.org/jira/browse/CALCITE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Gini updated CALCITE-4907: Fix Version/s: (was: 1.29.0) > JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE > --- > > 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 >Priority: Major > Labels: pull-request-available > Time Spent: 2.5h > Remaining Estimate: 0h > > JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian > product) or ON FALSE. This results in implementing the join in memory via > _EnumerableNestedLoopJoin_ which is a less efficient implementation. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (CALCITE-4907) JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE
[ https://issues.apache.org/jira/browse/CALCITE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Gini updated CALCITE-4907: Description: JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian product) or ON FALSE. This results in implementing the join in memory via _EnumerableNestedLoopJoin_ which is a less efficient implementation. (was: Cross joins (LogicalJoin with condition {_}true{_}) are not pushed down in the database when using the JdbcAdapter. This results in implementing the join in memory via _EnumerableNestedLoopJoin_ which is a less efficient implementation. 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).) > JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE > --- > > 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 >Priority: Major > Labels: pull-request-available > Fix For: 1.29.0 > > Time Spent: 50m > Remaining Estimate: 0h > > JDBC adapter (in JdbcJoinRule) cannot push down join ON TRUE (cartesian > product) or ON FALSE. This results in implementing the join in memory via > _EnumerableNestedLoopJoin_ which is a less efficient implementation. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (CALCITE-4907) JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE
[ https://issues.apache.org/jira/browse/CALCITE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Gini updated CALCITE-4907: Summary: JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE (was: JdbcJoin does not convert Join with always true/false RexNode) > JDBC adapter cannot push down join ON TRUE (cartesian product) or ON FALSE > --- > > 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 >Priority: Major > Labels: pull-request-available > Fix For: 1.29.0 > > Time Spent: 50m > Remaining Estimate: 0h > > Cross joins (LogicalJoin with condition {_}true{_}) are not pushed down in > the database when using the JdbcAdapter. This results in implementing the > join in memory via _EnumerableNestedLoopJoin_ which is a less efficient > implementation. > > 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). -- This message was sent by Atlassian Jira (v8.20.1#820001)