Hi Gyula,

the TableEnvironment.getConfig offers a setPlannerConfig. And org.apache.flink.table.planner.calcite.CalciteConfigBuilder helps in creating an object that implements this interface. You should be able to influence the Calcite parser config with this.


However, I'm not sure how well this config is passed through the stack.

Regards,
Timo


On 26.01.21 17:38, Sebastian Liu wrote:
Hi Gyula,

AFAIK, except the sql-dialect, table API does not expose any parser related configuration to the user. But we still can change the config of quoting identifiers in parser with some code changing. You can reference this test class: org.apache.flink.sql.parser.FlinkDDLDataTypeTest.TestFactory.


Gyula Fóra <gyula.f...@gmail.com <mailto:gyula.f...@gmail.com>> 于2021年 1月26日周二 下午8:42写道:

    Hi All!

    Is it possible in any way to configure the Table environments to
    allow double quotes (") to be used for identifiers instead of
    backticks (`).

    Thank you!
    Gyula



--

*With kind regards ------------------------------------------------------------ Sebastian Liu 刘洋 Institute of Computing Technology, Chinese Academy of Science Mobile\WeChat: +86—15201613655 E-mail: liuyang0...@gmail.com <mailto:liuyang0...@gmail.com> QQ: 3239559*


Reply via email to