[
https://issues.apache.org/jira/browse/CALCITE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14707285#comment-14707285
]
Maryann Xue commented on CALCITE-851:
-------------------------------------
Thanks, Julian! And I'll commit the changes you made in Phoenix yesterday.
> Add original SQL string as a field in the parser
> ------------------------------------------------
>
> Key: CALCITE-851
> URL: https://issues.apache.org/jira/browse/CALCITE-851
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Fix For: 1.5.0-incubating
>
>
> Add the SQL string to the parser. This will be useful for CREATE VIEW, for
> instance, which needs to access the original SQL (including comments and
> formatting) rather than just the AST.
> It could be a field "protected final String originalSql;" in SqlParserImpl.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)