You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2018/09/01 01:58:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Vladimir Sitnikov resolved CALCITE-2498.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.18.0

> 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
>             Fix For: 1.18.0
>
>
> 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)