It seems analogous to the Postgres-style ‘::’ cast operator. We’d want to 
support it in Babel but not the core parser. Can you log a JIRA case analogous 
to https://issues.apache.org/jira/browse/CALCITE-2843 
<https://issues.apache.org/jira/browse/CALCITE-2843>.

> On Jan 7, 2022, at 3:06 AM, 徐仁和 <xurenhe19910...@gmail.com> wrote:
> 
> Hi calcite community.
> 
> In my case, we need calcite's parser support operator '<=>' of mysql.
> 
> Link:
> https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#operator_equal-to
> 
> I debug it, I find I need to modify the Parser.jj in calcite, to define a
> new token for '<=>'.
> 
> So, could I expand the Parser.jj of calcite, and support this new operator.
> 
> Best,
> XuRenhe

Reply via email to