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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to