You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Scott Shen (JIRA)" <ji...@apache.org> on 2017/07/13 06:03:00 UTC
[jira] [Updated] (CASSANDRA-13690) Cqlsh not reporting correctly
for the columns with same name
[ https://issues.apache.org/jira/browse/CASSANDRA-13690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Shen updated CASSANDRA-13690:
-----------------------------------
Description:
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)
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)
cqlsh:test>
would expect the name columns to have the same value and the tstamp column not misaligned.
was:
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.
> 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)
> 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)
> 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