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

Stefan Podkowinski updated CASSANDRA-13262:
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0
           Status: Resolved  (was: Patch Available)

The provided patch fixes the issue and has been committed as aaf201128764. 
The changes look good to me, but I'm not that familiar with the python driver 
and cqlsh code to be comfortable enough committing this to anything but trunk. 
Anyone else, feel free to backport.

Test results: [ 
[testall|https://builds.apache.org/user/spod/my-views/view/Cassandra%20List%20View/job/Cassandra-devbranch-testall/7/]
 (clean) | 
[dtest|https://builds.apache.org/user/spod/my-views/view/Cassandra%20List%20View/job/Cassandra-devbranch-dtest/37/#showFailuresLink]
 (7 flaky) ]

> Incorrect cqlsh results when selecting same columns multiple times
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-13262
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13262
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stefan Podkowinski
>            Assignee: Murukesh Mohanan
>            Priority: Minor
>              Labels: lhf
>             Fix For: 4.0
>
>         Attachments: 
> 0001-Fix-incorrect-cqlsh-results-when-selecting-same-colu.patch
>
>
> Just stumbled over this on trunk:
> {quote}
> cqlsh:test1> select a, b, c from table1;
>  a | b    | c
> ---+------+-----
>  1 |    b |   2
>  2 | null | 2.2
> (2 rows)
> cqlsh:test1> select a, a, b, c from table1;
>  a | a    | b   | c
> ---+------+-----+------
>  1 |    b |   2 | null
>  2 | null | 2.2 | null
> (2 rows)
> cqlsh:test1> select a, a, a, b, c from table1;
>  a | a    | a             | b    | c
> ---+------+---------------+------+------
>  1 |    b |           2.0 | null | null
>  2 | null | 2.20000004768 | null | null
> {quote}
> My guess is that his is on the Python side, but haven't really looked into it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to