[jira] [Created] (CALCITE-6142) Double quote does not work as literal quote string in sql parsing

2023-11-28 Thread peng wu (Jira)
peng wu created CALCITE-6142: Summary: Double quote does not work as literal quote string in sql parsing Key: CALCITE-6142 URL: https://issues.apache.org/jira/browse/CALCITE-6142 Project: Calcite

Re: Double quote does not work as literal quote string

2023-11-28 Thread Hongyu Guo
I think maybe BigQuery Lex is what you need. Try ``` SqlParser.Config config = sparkDialect.configureParser(SqlParser.config()) .withLex(Lex.BIG_QUERY); ``` hongyu On Tue, Nov 28, 2023 at 6:49 PM 武鹏 wrote: > Hi all, > I tried our SQL parser on version 1.32.0 and 1.36.0. > I used

Double quote does not work as literal quote string

2023-11-28 Thread 武鹏
Hi all, I tried our SQL parser on version 1.32.0 and 1.36.0. I used double quote(") as literal quote string in my sql expression, and set it on my parser config, but it threw a sql parse exception: org.apache.calcite.sql.parser.impl.ParseException: Encountered "\"" at line 1, column 26. Was