[jira] [Created] (CALCITE-5164) Planner#parser can't parse TIMESTAMP() function

2022-05-20 Thread Jiajun Xie (Jira)
Jiajun Xie created CALCITE-5164: --- Summary: Planner#parser can't parse TIMESTAMP() function Key: CALCITE-5164 URL: https://issues.apache.org/jira/browse/CALCITE-5164 Project: Calcite Issue Type:

Re: Implicit cast from string to array

2022-05-20 Thread Julian Hyde
Simplest thing might be to parse the sub-structure of the string right there in the parser, and store it in the AST. Something similar happens with datetime literals. Julian > On May 20, 2022, at 02:20, Dmitry Sysolyatin wrote: > > I need some advice. I started to work on > https://issues.

Re: Implicit cast from string to array

2022-05-20 Thread Dmitry Sysolyatin
I need some advice. I started to work on https://issues.apache.org/jira/browse/CALCITE-5159 and faced the problem that I need a Parser factory inside Validator in order to parse a string literal to array literal. Would it be correct to pass ParserFactory to Validator from calcite architecture poin

[jira] [Created] (CALCITE-5163) MysqlSqlDialect unparse LISTAGG aggregate function error

2022-05-20 Thread Xurenhe (Jira)
Xurenhe created CALCITE-5163: Summary: MysqlSqlDialect unparse LISTAGG aggregate function error Key: CALCITE-5163 URL: https://issues.apache.org/jira/browse/CALCITE-5163 Project: Calcite Issue Ty