You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/08/28 22:27:00 UTC
[jira] [Commented] (CALCITE-2498) geode adapter wrongly quotes
booleans as strings ('true' / 'false')
[ https://issues.apache.org/jira/browse/CALCITE-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595668#comment-16595668 ]
Andrei Sereda commented on CALCITE-2498:
----------------------------------------
[~julianhyde] fixed title and description
> geode adapter wrongly quotes booleans as strings ('true' / 'false')
> -------------------------------------------------------------------
>
> Key: CALCITE-2498
> URL: https://issues.apache.org/jira/browse/CALCITE-2498
> Project: Calcite
> Issue Type: Bug
> Components: geode
> Reporter: Andrei Sereda
> Assignee: Julian Hyde
> Priority: Major
>
> Geode should keep booleans as is (without quoting them).
> {code:sql}
> // SQL (calcite). original query
> select * from geode where isActive = true
> // OQL (geode query) result
> select * from /region where isActive = 'true'
> {code}
>
> [Boolean literals|https://geode.apache.org/docs/guide/14/developing/query_additional/literals.html] are natively supported by geode and calcite should not convert them to SQL strings.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)