cassandra-commits mailing list archives

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-13690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Podkowinski resolved CASSANDRA-13690.
--------------------------------------------
    Resolution: Duplicate

> 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


Mime
View raw message