cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Shen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-13690) Cqlsh not reporting correctly for the columns with same name
Date Thu, 13 Jul 2017 06:03:00 GMT
Scott Shen created CASSANDRA-13690:
--------------------------------------

             Summary: Cqlsh not reporting correctly for the columns with same name
                 Key: CASSANDRA-13690
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13690
             Project: Cassandra
          Issue Type: Bug
         Environment: cqlsh 5.0.1 | Cassandra 3.11.0
            Reporter: Scott Shen


cqlsh:test> create table test ( name text, tstamp timestamp, PRIMARY KEY (name) );
cqlsh:test> insert into test(name, tstamp) values('aaa', 123);
cqlsh:test> insert into test(name, tstamp) values('bbb', 321);
cqlsh:test> select name, tstamp, name from test;

 name | tstamp                          | name
------+---------------------------------+------
  aaa | 1970-01-01 00:00:00.123000+0000 | null
  bbb | 1970-01-01 00:00:00.321000+0000 | null

(2 rows)
user@cqlsh:test> select name, name, tstamp from test;

 name | name                            | tstamp
------+---------------------------------+--------
  aaa | 1970-01-01 00:00:00.123000+0000 |   null
  bbb | 1970-01-01 00:00:00.321000+0000 |   null

(2 rows)
user@cqlsh:test>

would expect the name columns to have the same value and the tstamp column not misaligned.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message