Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1040

ColumnValue and TypedValue are unnecessarily both repeated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • avatica
    • None

    Description

      cartershanklin sent me some nice notes from working on a Python interface to the Phoenix QueryServer. He saw this strange thing in the code he had to write:

      count = response.results[0].first_frame.rows[0].value[0].value[0].number_value
      

      The value[0].value[0] is strange. Looking at the protobuf definition, it seems like both ColumnValue and TypedValue are repeated which is causing this. Only one of them should be repeated, not both. This creates the equivalent of a 2dim array inside each row instead of just a 1dim array.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              cartershanklin Carter Shanklin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: