Takashi Hashida created ARROW-8110:
--------------------------------------

             Summary: [C#] BuildArrays fails if NestedType is included
                 Key: ARROW-8110
                 URL: https://issues.apache.org/jira/browse/ARROW-8110
             Project: Apache Arrow
          Issue Type: Bug
          Components: C#
            Reporter: Takashi Hashida


https://github.com/apache/arrow/blob/master/csharp/src/Apache.Arrow/Ipc/ArrowReaderImplementation.cs#L128

{code}
          var field = 
schema.GetFieldByIndex(recordBatchEnumerator.CurrentNodeIndex);
{code}

Flatbuf.RecordBatch.Nodes include child nodes but Schmea.fileds do not include 
child fileds.
If a NestedType array is included in the RecordBatch data, CurrentNodeIndex 
exceeds fileds length and GetFieldByIndex throws an ArgumentOutOfRange 
exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to