You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "liu ming (JIRA)" <ji...@apache.org> on 2016/06/14 09:48:01 UTC
[jira] [Commented] (TRAFODION-1743) Unable to create a volatile
table in a stored procedure
[ https://issues.apache.org/jira/browse/TRAFODION-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329200#comment-15329200 ]
liu ming commented on TRAFODION-1743:
-------------------------------------
T2 Driver not support to start sql session.
So 'CREATE VOLATILE SCHEMA' cannot pass the processVolatileDDLName() and raise 15001 error
Need to add BEGIN_SESSION in T2.
Aven work on it.
> Unable to create a volatile table in a stored procedure
> -------------------------------------------------------
>
> Key: TRAFODION-1743
> URL: https://issues.apache.org/jira/browse/TRAFODION-1743
> Project: Apache Trafodion
> Issue Type: Bug
> Components: sql-general
> Reporter: Roberta Marton
> Assignee: mashengchen
>
> Wrote an SPJ that creates a volatile table. The following error is returned:
> create stmt: create volatile table ABC_2016_01_07_19_32_29_11(version int not null, time_lct char(26) character set ISO88591 not null, user_name char(128) character set ISO88591 not null, grant_depth int not null, seq_num largeint generated by default as identity , grant_details varchar (500) character set ISO88591 not null) ;
> @Thu Jan 07 19:32:31 GMT 2016: ERROR: unable to create the results table *** ERROR[15001] A syntax error occurred at or before:
> CREATE VOLATILE SCHEMA;
> ^ (22 characters from start of SQL statement)
> The same create statement works fine through sqlci
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)