[ https://issues.apache.org/jira/browse/CALCITE-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17755921#comment-17755921 ]
xiong duan commented on CALCITE-5937: ------------------------------------- +1. Test in PostgreSQL, If no information in hints, It executes well. > The parsing error should not be thrown even if there is no Hint in Hint > Statement > --------------------------------------------------------------------------------- > > Key: CALCITE-5937 > URL: https://issues.apache.org/jira/browse/CALCITE-5937 > Project: Calcite > Issue Type: Bug > Reporter: LakeShen > Priority: Major > Attachments: image-2023-08-18-17-43-30-254.png > > > Hints are a special kind of SQL comment,so even if there is no Hint in Hint > Statement,it should not throw the sql parser error. > Now in the calcite,for the following sql query, it would throw an SQL parsing > error: > {code:java} > select /*+ */ deptno, min(foo) as x from emp {code} > The exception is : > !image-2023-08-18-17-43-30-254.png|width=615,height=298! > > -- This message was sent by Atlassian Jira (v8.20.10#820010)