showddl does not display salt clause following 'create table...like...salt using...'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
Medium
|
Hans Zeller |
Bug Description
showddl does not display salt clause for table that was created via 'create table...like...salt using n partitions'.
Noted on 20141216 build.
>>create table mytbl( a int not null, b int, c int) primary key (a) salt using 8 partitions;
..
--- SQL operation complete.
>>showddl mytbl;
CREATE TABLE TRAFODION.
(
A INT NO DEFAULT NOT NULL NOT DROPPABLE
, B INT DEFAULT NULL
, C INT DEFAULT NULL
, PRIMARY KEY (A ASC)
)
SALT USING 8 PARTITIONS
;
--- SQL operation complete.
>>create table myliketbl like mytbl salt using 12 partitions;
--- SQL operation complete.
>>showddl myliketbl;
CREATE TABLE TRAFODION.
(
A INT NO DEFAULT NOT NULL NOT DROPPABLE
, B INT DEFAULT NULL
, C INT DEFAULT NULL
, PRIMARY KEY (A ASC)
)
;
--- SQL operation complete.
to reproduce:
create table mytbl( a int not null, b int, c int) primary key (a) salt using 8 partitions;
showddl mytbl;
create table myliketbl like mytbl salt using 12 partitions;
showddl myliketbl;
Changed in trafodion: | |
assignee: | nobody → Hans Zeller (hans-zeller) |
Changed in trafodion: | |
status: | New → Confirmed |
Changed in trafodion: | |
milestone: | r1.1 → r1.0 |
importance: | Low → Medium |
Also, invoke does not display _SALT_ column.
>>invoke myliketbl;
-- Definition of Trafodion table TRAFODION. SEABASE. MYLIKETBL
-- Definition current Tue Jan 13 12:40:06 2015
(
A INT NO DEFAULT NOT NULL NOT DROPPABLE
, B INT DEFAULT NULL
, C INT DEFAULT NULL
)
PRIMARY KEY (A ASC)
--- SQL operation complete.