-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CALCITE-3207] Fail to convert Join RelNode with like condition to sql statement #1328
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the commit message since 'fix' should better not appear.
How about "Fail to convert Join RelNode with like condition to sql statement"?
@wojustme Seems a little weird that why we should enumerate all these SqlKind here, which is error prone, can you please also check other operator (are there else operators missing)? |
@chunweilei thx for your comment. I change commit message for describe the problem. |
@danny0405 THX for your reminder, I will check other operator later. |
Hi @danny0405 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wojustme , i recheck the code the it seems there is no common way to enumerate all these condition operators, per the like
operator, it is a SqlSpecialOperator, so i think this fix is ok.
I'm + 1 for this
@danny0405 |
I think the main reason that the SqlImplementor needs to handle the join condition separately is that the
|
Colse to retrigger tests. |
@danny0405 |
Hi @chunweilei |
…l statement (wojustme) close apache#1328
…l statement (wojustme) close apache#1328
Calcite cannot convert rel node to sql statement, which case is the condition of join is 'like' expression.