Samarth Jain created PHOENIX-911:
------------------------------------
Summary: DDL containing only PK cols in the column list doesn't
respect HBase specific attributes
Key: PHOENIX-911
URL: https://issues.apache.org/jira/browse/PHOENIX-911
Project: Phoenix
Issue Type: Bug
Affects Versions: 3.0.0, 4.0.0
Reporter: Samarth Jain
{code}
create table IF NOT EXISTS test12 (
id char(1) NOT NULL,
col1 integer NOT NULL,
col2 bigint NOT NULL,
col3 bigint NOT NULL
CONSTRAINT NAME_PK PRIMARY KEY (id, col1, col2)
) TTL=86400, SALT_BUCKETS = 16
describe 'test12'
{NAME => '0', DATA_BLOCK_ENCODING => 'FAST_DIFF', BLOOMFILTER
=> 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSI
ON => 'NONE', MIN_VERSIONS => '0', TTL => '86400', KEEP_DELETED_
CELLS => 'true', BLOCKSIZE => '65536', IN_MEMORY => 'false', ENC
ODE_ON_DISK => 'true', BLOCKCACHE => 'true'}
create table IF NOT EXISTS test12 (
id char(1) NOT NULL,
col1 integer NOT NULL,
col2 bigint NOT NULL,
CONSTRAINT NAME_PK PRIMARY KEY (id, col1, col2)
) TTL=86400, SALT_BUCKETS = 16
describe 'test12'
{NAME => '0', DATA_BLOCK_ENCODING => 'FAST_DIFF', BLOOMFILTER
=> 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSI
ON => 'NONE', MIN_VERSIONS => '0', TTL => '2147483647', KEEP_DELETED_
CELLS => 'true', BLOCKSIZE => '65536', IN_MEMORY => 'false', ENC
ODE_ON_DISK => 'true', BLOCKCACHE => 'true'}
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)