ttnguyen223 opened a new issue, #38018:
URL: https://github.com/apache/arrow/issues/38018

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   .NET 7.0
   ApacheArrow version: 12.0.0
   
   StackTrace:
      at Apache.Arrow.Ipc.MessageSerializer.GetFieldArrowType(Field field, 
Field[] childFields)
      at Apache.Arrow.Ipc.MessageSerializer.FieldFromFlatbuffer(Field 
flatbufField, DictionaryMemo& dictionaryMemo)
      at Apache.Arrow.Ipc.MessageSerializer.GetSchema(Schema schema, 
DictionaryMemo& dictionaryMemo)
      at 
Apache.Arrow.Ipc.ArrowStreamReaderImplementation.<<ReadSchemaAsync>b__10_0>d.MoveNext()
      at Apache.Arrow.ArrayPoolExtensions.<RentReturnAsync>d__1.MoveNext()
      at 
Apache.Arrow.Ipc.ArrowStreamReaderImplementation.<ReadSchemaAsync>d__10.MoveNext()
      at 
Apache.Arrow.Ipc.ArrowStreamReaderImplementation.<ReadRecordBatchAsync>d__8.MoveNext()
      at System.Threading.Tasks.ValueTask`1.get_Result()
      at 
Apache.Arrow.Ipc.ArrowStreamReaderImplementation.<ReadNextRecordBatchAsync>d__6.MoveNext()
      at System.Threading.Tasks.ValueTask`1.get_Result()
      
      
      This is the part we're calling ReadNextRecordBatch and it errors out at 
that method:
      `using (HttpClient client = new HttpClient())    
   
                   using (HttpResponseMessage responseMsg = await 
client.GetAsync(url))    
   
                   using (Stream stream = await 
responseMsg.Content.ReadAsStreamAsync())    
   
                   using (var reader = new ArrowStreamReader(stream))    
   
                   {   
   
                       RecordBatch recordBatch;   
   
                       while ((recordBatch = await 
reader.ReadNextRecordBatchAsync()) != null)   
   
                       {   
   
                          ....`
      
      
      
   
   ### Component(s)
   
   C#


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to