You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jiajun Xie (Jira)" <ji...@apache.org> on 2022/10/31 13:14:00 UTC
[jira] [Commented] (CALCITE-3588) JDBC adapter should handle join conditions containing IS TRUE, SIMILAR TO etc. when generating SQL
[ https://issues.apache.org/jira/browse/CALCITE-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626583#comment-17626583 ]
Jiajun Xie commented on CALCITE-3588:
-------------------------------------
[~julianhyde] , I found that your [commit|https://github.com/apache/calcite/commit/af5444ff] fixed this issue.
> JDBC adapter should handle join conditions containing IS TRUE, SIMILAR TO etc. when generating SQL
> --------------------------------------------------------------------------------------------------
>
> Key: CALCITE-3588
> URL: https://issues.apache.org/jira/browse/CALCITE-3588
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Jin Xing
> Assignee: Jin Xing
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Currently Calcite fail to convert RelNode to SqlNode when Join condition contains operators like 'SIMILAR_TO', 'IS_TRUE', 'IS_NOT_TRUE'. AssertionError will be thrown from [1]
>
> [1] https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/rel2sql/SqlImplementor.java#L290
--
This message was sent by Atlassian Jira
(v8.20.10#820010)