You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:17:36 UTC

[jira] [Created] (TRAFODION-626) LP Bug: 1370081 - create table statement with large varchar column results in a parser error

Alice Chen created TRAFODION-626:
------------------------------------

             Summary: LP Bug: 1370081 - create table statement with large varchar column results in a parser error
                 Key: TRAFODION-626
                 URL: https://issues.apache.org/jira/browse/TRAFODION-626
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-cmu
            Reporter: Suresh Subbiah
            Assignee: Suresh Subbiah
             Fix For: 2.0-incubating


create table temp2(a varchar(20) not null, b varchar(512) not null, primary key(b)) salt using 16 partitions;

*** ERROR[15001] A syntax error occurred at or before:
CAST ( _ISO88591';
                 ^ (19 characters from start of SQL statement)

This issue has been fixed in a side thread and needs to be ported. Internal clauses generated and sent to the parser and there is logic that attempts to save memory and resize if memory needed is more than 512 bytes. An error in that resize logic is causing this problem.



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