You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by 莫失莫忘 <xi...@qq.com> on 2020/12/08 10:32:21 UTC

how to set string representation in calcite SQL;

Default ,String representation is&nbsp; apostrophe in&nbsp; &nbsp;calcite SQL ,like &nbsp; 'word'&nbsp; . how do I set&nbsp; &nbsp;this&nbsp; to Double quotes ,like "word" .


Default is :&nbsp; &nbsp;select * from table1 where column1 = 'word'


I hope to support:&nbsp; &nbsp;select * from table1 where column1 = "word"

Re: how to set string representation in calcite SQL;

Posted by Jess Balint <jb...@gmail.com>.
This is controlled by the `dialect` argument to RelToSqlConverter. If you
can give some more details about what level you're working at, we can help
further.

Jess

On Tue, Dec 8, 2020 at 4:32 AM 莫失莫忘 <xi...@qq.com> wrote:

> Default ,String representation is&nbsp; apostrophe in&nbsp; &nbsp;calcite
> SQL ,like &nbsp; 'word'&nbsp; . how do I set&nbsp; &nbsp;this&nbsp; to
> Double quotes ,like "word" .
>
>
> Default is :&nbsp; &nbsp;select * from table1 where column1 = 'word'
>
>
> I hope to support:&nbsp; &nbsp;select * from table1 where column1 = "word"