You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Jiajun Xie (Jira)" <ji...@apache.org> on 2022/07/09 07:30:00 UTC

[jira] [Created] (CALCITE-5205) Supports hint option as string and numeric literal

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)