Josh Elser created CALCITE-1040:
-----------------------------------

             Summary: ColumnValue and TypedValue are unnecessarily both repeated
                 Key: CALCITE-1040
                 URL: https://issues.apache.org/jira/browse/CALCITE-1040
             Project: Calcite
          Issue Type: Bug
          Components: avatica
    Affects Versions: 1.5.0
            Reporter: Carter Shanklin
            Assignee: Josh Elser
             Fix For: 1.6.0


[~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:

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

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.



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

Reply via email to