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

Vladimir Ozerov commented on CALCITE-4535:
------------------------------------------

Hi [~julianhyde]. Thanks for the review. 
Regarding {{RelOptRulesTest.xml}}, I didn't add anything to it in this PR. 
Perhaps the comment relates https://issues.apache.org/jira/browse/CALCITE-4515. 
I was not aware that there are any problems with it. 

> ServerDdlExecutor cannot execute DROP commands with qualified object names
> --------------------------------------------------------------------------
>
>                 Key: CALCITE-4535
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4535
>             Project: Calcite
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 1.26.0
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.27.0
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Consider the query {{DROP TABLE s.t}}. The {{ServerDdlExecutor}} will attempt 
> to resolve the default schema path, and the would try to invoke 
> {{SqlIdentifier.getSimple}} on the {{s.t}} identifier. When assertions are 
> enabled this would lead to an AssertionError. When assertions are disabled 
> this would lead to an incorrectly resolved table name: {{s}} instead of {{t}}.
> All {{DROP}} commands are affected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to