Dear 月宫的木马兔 ~ You are right, we actually does not need to keep these quotes characters in the SqlIdentifier, what the quote character is depends on the sql conformance you choose[1]. Unless if you want to unparse these SqlIdentifier, you can config your write with the sql conformance you want.
[1] https://github.com/apache/calcite/blob/547e49c1c37554f3bff904d5266d9e1c671e98f0/core/src/main/java/org/apache/calcite/sql/validate/SqlConformance.java#L34 Best, Danny Chan 在 2019年12月14日 +0800 AM10:03,月宫的木马兔 <groobym...@qq.com>,写道: > Hi, > I got the SqlNode by using SqlParse.parseQuery() (Sql bellow), but I can > not find the back_tick in SqlIdentifer > > Sql: > > SELECT `sql`,id1 FROM testdata > > Debug with IDEA: > <> >