You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Shuyi Chen (JIRA)" <ji...@apache.org> on 2018/06/06 00:23:00 UTC
[jira] [Commented] (CALCITE-2353) Allow user to override
SqlSetOption in alterStatementParserMethods
[ https://issues.apache.org/jira/browse/CALCITE-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502690#comment-16502690 ]
Shuyi Chen commented on CALCITE-2353:
-------------------------------------
By swapping the order, the parser will match the user DDL rule first, so you can implement your own SET operation, is that what you intend to do?
I am not an expert in the parser logic, but it sounds fine to me.
> Allow user to override SqlSetOption in alterStatementParserMethods
> ------------------------------------------------------------------
>
> Key: CALCITE-2353
> URL: https://issues.apache.org/jira/browse/CALCITE-2353
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Andrew Pilloud
> Assignee: Julian Hyde
> Priority: Major
>
> If alterStatementParserMethods are added before SqlSetOption then the user can replace SqlSetOption. This change matches how statementParserMethods are added at the top level.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)