You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Takashi Hashida (Jira)" <ji...@apache.org> on 2020/03/13 09:16:00 UTC

[jira] [Created] (ARROW-8110) [C#] BuildArrays fails if NestedType is included

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)