cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Moneta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8823) When listed in cqlsh static column has value only for first 100 records.
Date Wed, 18 Feb 2015 11:28:11 GMT

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

Mateusz Moneta updated CASSANDRA-8823:
--------------------------------------
    Description: 
Steps for reproduce (Cassandra 2.1.2, cqlsh 5.0.1):

{noformat}
CREATE TABLE share.test (k text, s text static, i int, primary key (k, i));
INSERT INTO share.test (k, i, s) VALUES ('foo', 0, 'bar);
INSERT INTO share.test (k, i) VALUES ('foo', <1-200]>);
SELECT * FROM share.test;
{noformat}

As result you will get 100 first rows with good values and if you hit enter for {{--MORE--}}
next 100 rows will have s column 'null' value.

{noformat}
 foo | 102 | bar
 foo | 101 | bar

---MORE--- 
 k   | i   | s
-----+-----+------
 foo | 100 | null
 foo |  99 | null
{noformat}

  was:
Steps for reproduce:

{noformat}
CREATE TABLE share.test (k text, s text static, i int, primary key (k, i));
INSERT INTO share.test (k, i, s) VALUES ('foo', 0, 'bar);
INSERT INTO share.test (k, i) VALUES ('foo', <1-200]>);
SELECT * FROM share.test;
{noformat}

As result you will get 100 first rows with good values and if you hit enter for {{--MORE--}}
next 100 rows will have s column 'null' value.

{noformat}
 foo | 102 | bar
 foo | 101 | bar

---MORE--- 
 k   | i   | s
-----+-----+------
 foo | 100 | null
 foo |  99 | null
{noformat}


> When listed in cqlsh static column has value only for first 100 records.
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8823
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8823
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Mateusz Moneta
>            Priority: Minor
>
> Steps for reproduce (Cassandra 2.1.2, cqlsh 5.0.1):
> {noformat}
> CREATE TABLE share.test (k text, s text static, i int, primary key (k, i));
> INSERT INTO share.test (k, i, s) VALUES ('foo', 0, 'bar);
> INSERT INTO share.test (k, i) VALUES ('foo', <1-200]>);
> SELECT * FROM share.test;
> {noformat}
> As result you will get 100 first rows with good values and if you hit enter for {{--MORE--}}
next 100 rows will have s column 'null' value.
> {noformat}
>  foo | 102 | bar
>  foo | 101 | bar
> ---MORE--- 
>  k   | i   | s
> -----+-----+------
>  foo | 100 | null
>  foo |  99 | null
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message