Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13262

Incorrect cqlsh results when selecting same columns multiple times

    XMLWordPrintableJSON

Details

    • Low

    Description

      Just stumbled over this on trunk:

      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

      My guess is that his is on the Python side, but haven't really looked into it.

      Attachments

        1. 0001-Fix-incorrect-cqlsh-results-when-selecting-same-colu.patch
          1 kB
          Murukesh Mohanan
        2. CASSANDRA-13262-v2.2.txt
          1 kB
          Anthony Grasso
        3. CASSANDRA-13262-v3.0.txt
          1 kB
          Anthony Grasso
        4. CASSANDRA-13262-v3.11.txt
          2 kB
          Anthony Grasso

        Issue Links

          Activity

            People

              muru Murukesh Mohanan
              spod Stefan Podkowinski
              Murukesh Mohanan
              Stefan Podkowinski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: