You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2013/09/20 19:07:53 UTC
[jira] [Created] (CASSANDRA-6071) CqlStorage loading compact table
adds an extraneous field to the pig schema
Sam Tunnicliffe created CASSANDRA-6071:
------------------------------------------
Summary: CqlStorage loading compact table adds an extraneous field to the pig schema
Key: CASSANDRA-6071
URL: https://issues.apache.org/jira/browse/CASSANDRA-6071
Project: Cassandra
Issue Type: Bug
Components: Hadoop
Reporter: Sam Tunnicliffe
Assignee: Sam Tunnicliffe
Priority: Minor
{code}
CREATE TABLE t (
key text,
field1 int,
field2 int
PRIMARY KEY (key, field1)
) WITH COMPACT STORAGE;
INSERT INTO t (key,field1,field2) VALUES ('key1',1,2);
INSERT INTO t (key,field1,field2) VALUES ('key2',1,2);
INSERT INTO t (key,field1,field2) VALUES ('key3',1,2);
{code}
{code}
grunt> t = LOAD 'cql://ks/t' USING CqlStorage();
grunt> describe t;
t: {key: chararray,field1: int,field2: int,value: int}
dump t;
(key1,1,2,)
(key3,1,2,)
(key2,1,2,)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira