[ 
https://issues.apache.org/jira/browse/CALCITE-3940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chen updated CALCITE-3940:
--------------------------------
    Description: 
After parsing

{code:sql}
/*+OPTIONS('k1'='v1', 'k2'='v2')*/
{code}

The parsed hint name is "PTIONS", while it is expected to be "OPTIONS".

  was:After parsing /*+OPTIONS('k1'='v1', 'k2'='v2')*/, the parsed hint name is 
"PTIONS", while it is expected to be "OPTIONS".


> Hint item can not parse correctly if the name is right after token "/*+"
> ------------------------------------------------------------------------
>
>                 Key: CALCITE-3940
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3940
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.22.0
>            Reporter: Danny Chen
>            Assignee: Danny Chen
>            Priority: Major
>             Fix For: 1.23.0
>
>
> After parsing
> {code:sql}
> /*+OPTIONS('k1'='v1', 'k2'='v2')*/
> {code}
> The parsed hint name is "PTIONS", while it is expected to be "OPTIONS".



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

Reply via email to