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

ColumnValue and TypedValue are unnecessarily both repeated

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: avatica
    • Labels:
      None

      Description

      Carter Shanklin 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

            • Assignee:
              elserj Josh Elser
              Reporter:
              cartershanklin Carter Shanklin

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment