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

   ### Describe the enhancement requested
   
   RecordReader's methods don't return `err`, so there's no way to propagate 
errors. For this reason, exported streams in the C Data Interface have no way 
of returning errors, either. 
   
   Changing the interface would of course be a breaking change. The alternative 
is to declare this:
   
   ```
   type ClosableRecordReader interface {
           RecordReader
           Closable
   }
   ```
   
   which gives us one place to report errors (at the end).
   
   ### Component(s)
   
   Go


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