phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lomore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3264) Allow TRUE and FALSE to be used as literal constants
Date Thu, 15 Sep 2016 16:50:21 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493902#comment-15493902
] 

Eric Lomore commented on PHOENIX-3264:
--------------------------------------

One of the queries it is failing for:
Particularly, the IMMUTABLE_ROWS=true

conn.createStatement().execute("CREATE TABLE FOO(\n" + 
                    "                a VARCHAR NOT NULL,\n" + 
                    "                b TIMESTAMP NOT NULL,\n" + 
                    "                c VARCHAR,\n" + 
                    "                CONSTRAINT pk PRIMARY KEY (a, b DESC, c)\n" + 
                    "              ) IMMUTABLE_ROWS=true\n" + 
                    "                ,SALT_BUCKETS=20");

> Allow TRUE and FALSE to be used as literal constants
> ----------------------------------------------------
>
>                 Key: PHOENIX-3264
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3264
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>         Attachments: SqlLiteral.png, SqlOptionNode.png
>
>
> Phoenix supports TRUE and FALSE as boolean literals, but perhaps Calcite doesn't? Looks
like this is leading to a fair number of failures.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message