phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeshbabu Chintaguntla (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3617) Fix CREATE TABLE DDL parsing issues in Phoenix Calcaite
Date Mon, 23 Jan 2017 09:36:26 GMT
Rajeshbabu Chintaguntla created PHOENIX-3617:
------------------------------------------------

             Summary: Fix CREATE TABLE DDL parsing issues in Phoenix Calcaite
                 Key: PHOENIX-3617
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3617
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Rajeshbabu Chintaguntla
            Assignee: Rajeshbabu Chintaguntla


Still there are parsing issues with CREATE TABLE DDL. Fix them as part of this JIRA.
{noformat}
testAddDropColumns[AutoPartitionViewsIT_salted=true,multi-tenant=true](org.apache.phoenix.end2end.AutoPartitionViewsIT)
 Time elapsed: 0.005 sec  <<< ERROR!
java.sql.SQLException: 
Error while executing SQL "CREATE TABLE T000055 (tenantId VARCHAR NOT NULL,  metricId INTEGER
NOT NULL, val1 DOUBLE, CONSTRAINT PK PRIMARY KEY( tenantId,  metricId))  AUTO_PARTITION_SEQ="T000056",
SALTED=4 , MULTI_TENANT=true ": parse failed: Encountered "\"T000056\"" at line 1, column
160.
Was expecting one of:
    "+" ...
    "-" ...
    <UNSIGNED_INTEGER_LITERAL> ...
    <DECIMAL_NUMERIC_LITERAL> ...
    <APPROX_NUMERIC_LITERAL> ...
    <BINARY_STRING_LITERAL> ...
    <PREFIXED_STRING_LITERAL> ...
    <QUOTED_STRING> ...
    <UNICODE_STRING_LITERAL> ...
    "TRUE" ...
    "FALSE" ...
    "UNKNOWN" ...
    "NULL" ...
    <LBRACE_D> ...
    <LBRACE_T> ...
    <LBRACE_TS> ...
    "DATE" ...
    "TIME" ...
    "TIMESTAMP" ...
    "INTERVAL" ...
{noformat}



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

Mime
View raw message