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:15:18 UTC
[jira] [Created] (TRAFODION-233) LP Bug: 1309250 - Update
statistics does not recognize delimited column names
Alice Chen created TRAFODION-233:
------------------------------------
Summary: LP Bug: 1309250 - Update statistics does not recognize delimited column names
Key: TRAFODION-233
URL: https://issues.apache.org/jira/browse/TRAFODION-233
Project: Apache Trafodion
Issue Type: Bug
Components: sql-cmp
Reporter: Weishiun Tsai
Assignee: Barry Fritchman
Update statistics does not recognize delimited column names in Trafodion. As shown here, the statement returns error 9209 when column “a” is used in the column list. The first part of the output shows the error returned in Trafodion. The second part of the output shows that the same sequence of statements runs fine on Seaquest.
This is seen on the beta v39140 build.
==========================================================
In Trafodion
==========================================================
[trafodion@centos-mapr1 scripts]$ sqlci | cat
Trafodion Conversational Interface 0.7.0
(c) Copyright 2014 Hewlett-Packard Development Company, LP.
>>create table "test5" ("a" int, b int) no partition;
--- SQL operation complete.
>>insert into "test5" values (1,2),(3,4);
--- 2 row(s) inserted.
>>invoke "test5";
-- Definition of Trafodion table TRAFODION.SEABASE."test5"
-- Definition current Thu Apr 17 16:03:18 2014
(
SYSKEY LARGEINT NO DEFAULT NOT NULL NOT DROPPABLE
, "a" INT DEFAULT NULL
, B INT DEFAULT NULL
)
--- SQL operation complete.
>>update statistics for table "test5" on ("a"),(b), ("a",b);
*** ERROR[9209] Column a does not exist in object TRAFODION.SEABASE.test5.
--- SQL operation failed with errors.
==========================================================
In Seaquest
==========================================================
/opt/hp/sqtest5/m10sp1v39314/sql/scripts> sqlci
Hewlett-Packard NonStop(TM) SQL/MX Conversational Interface 2.5
(c) Copyright 2003-2010 Hewlett-Packard Development Company, LP.
>>create table "test5" ("a" int, b int) no partition;
--- SQL operation complete.
>>insert into "test5" values (1,2),(3,4);
--- 2 row(s) inserted.
>>invoke "test5";
-- Definition of table NEO.USR."test5"
-- Definition current Thu Apr 17 22:58:54 2014
(
"a" INT DEFAULT NULL
, B INT DEFAULT NULL
)
--- SQL operation complete.
>>update statistics for table "test5" on ("a"),(b), ("a",b);
--- SQL operation complete.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)