chunweilei commented on a change in pull request #1354: [CALCITE-482] Implement 
sql and planner hints
URL: https://github.com/apache/calcite/pull/1354#discussion_r310864623
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/sql/parser/SqlParserTest.java
 ##########
 @@ -8829,6 +8829,120 @@ public void subTestIntervalSecondFailsValidation() {
     sql(sql2).ok(expected);
   }
 
+  @Test public void testQueryHint() {
+    final String sql = "select "
+        + "/*+ properties(k1='v1', k2='v2'), no_hash_join, Index(idx1, idx2) 
*/ "
+        + "empno, ename, deptno from emps";
+    final String expected = "SELECT\n"
 
 Review comment:
   What does `properties(k1='v1', k2='v2')` mean?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to