[英]how to remove quote gracefully from calcite parser?
I have a table and I am trying to parse it's create statement like我有一张桌子,我正在尝试解析它的 create 语句,例如
As we seen, all fields of this sqlNode are quoted by ` .正如我们所见,这个 sqlNode 的所有字段都用 ` 引用。 But this is not what I want
但这不是我想要的
How to remove all the quotes by SqlWriterConfig?如何通过 SqlWriterConfig 删除所有引号? thanks
谢谢
In SqlWriterConfig, there is:在 SqlWriterConfig 中,有:
/** Sets {@link #quoteAllIdentifiers}. */
SqlWriterConfig withQuoteAllIdentifiers(boolean quoteAllIdentifiers);
you can pass argument as false
.您可以将参数传递为
false
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.