xuzifu666 commented on code in PR #4933:
URL: https://github.com/apache/calcite/pull/4933#discussion_r3440086683


##########
core/src/main/java/org/apache/calcite/sql/SqlSelect.java:
##########
@@ -160,12 +183,23 @@ public SqlSelect(SqlParserPos pos,
     case 10:
       fetch = operand;
       break;
+    case 11:
+      hints = (SqlNodeList) operand;

Review Comment:
   This is a pre-existing bug. While adding case 12 for `DISTINCT ON`, I also 
filled in the missing case 11 (hint handling). The code is now correct.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to