jonkeane commented on pull request #11730:
URL: https://github.com/apache/arrow/pull/11730#issuecomment-987205434


   @bkietz or @westonpace might have some insight about what's going on here. 
   
   In your second to last comment here, the following seems odd to me. It's 
weird that a second `read_table()` would produce that empty array instead of an 
error about a closed stream of some sort. I wonder if that's a hint about 
what's going on in the DuckDB tests that seem to have garbage data in them (or 
/ and the segfaults Dewey is running into)
   
   ```
   rbr <- arrow:::ImportRecordBatchReader(stream_ptr)
   rbr$read_table()
   #> Table
   #> 40 rows x 6 columns
   #> $int <int32>
   #> $dbl <double>
   #> $dbl2 <double>
   #> $chr <string>
   #> $row_order <int32>
   #> $part <int32>
   #> 
   #> See $metadata for additional Schema metadata
   rbr$read_table()
   #> Table
   #> 0 rows x 6 columns
   #> $int <int32>
   #> $dbl <double>
   #> $dbl2 <double>
   #> $chr <string>
   #> $row_order <int32>
   #> $part <int32>
   #> 
   #> See $metadata for additional Schema metadata
   ```


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