create table statement with large varchar column results in a parser error

Bug #1370081 reported by Suresh Subbiah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
In Progress
Medium
Suresh Subbiah

Bug Description

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.

Tags: sql-cmu
tags: added: sql-cmu
Paul Low (paul-low-x)
Changed in trafodion:
milestone: r1.0 → none
Paul Low (paul-low-x)
Changed in trafodion:
milestone: none → r1.1
Paul Low (paul-low-x)
Changed in trafodion:
milestone: r1.1 → r1.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.