Hi all
I am using CALCITE as a mysql-proxy in my project.
Some user want use mysql's bit functions[1], but I found CALCITE didn't
support to parse these token.
For example:

> select 1 | 2 as c1;


Exception:
Caused by: java.lang.RuntimeException:
org.apache.calcite.sql.parser.SqlParseException: Encountered "|" at line 1,
column 10.
Was expecting one of:
    <EOF>
    "ORDER" ...
    "LIMIT" ...
    "OFFSET" ...
    "FETCH" ...
    "UNION" ...
    "INTERSECT" ...

------------------

I remember that some jiras[2][3][4][5][6] have been about this problem, and
how are they doing?

   1. https://dev.mysql.com/doc/refman/8.0/en/bit-functions.html
   2. https://issues.apache.org/jira/browse/CALCITE-3782
   3. https://issues.apache.org/jira/browse/CALCITE-3732
   4. https://issues.apache.org/jira/browse/CALCITE-3779
   5. https://issues.apache.org/jira/browse/CALCITE-3592
   6. https://issues.apache.org/jira/browse/CALCITE-3697


Thanks & Regards

Reply via email to