Jiajun Xie created CALCITE-5205: ----------------------------------- Summary: Supports hint option as string and numeric literal Key: CALCITE-5205 URL: https://issues.apache.org/jira/browse/CALCITE-5205 Project: Calcite Issue Type: Improvement Components: core Reporter: Jiajun Xie Assignee: Jiajun Xie
Spark support hint that options contain string and number: {code:java} SELECT /*+ REPARTITION(3, c) */ * FROM t {code} But calcite can't parse it: {code:java} Error while parsing SQL: select /*+ repartition(3, empno) */ empno, ename, deptno from emps java.lang.RuntimeException: Error while parsing SQL: select /*+ repartition(3, empno) */ empno, ename, deptno from emps {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)