lidavidm commented on PR #954:
URL: https://github.com/apache/arrow-adbc/pull/954#issuecomment-1663055602

   @kou yes, that's the case I'm thinking about. (For instance, for Flight SQL, 
if we get an error in the middle of the stream.) So in that case, 
`AdbcErrorFromArrayStream` would let us get the rest of the details. 
   
   It would be annoying to implement, but that's OK. The driver manager would 
wrap all ArrowArrayStream results with its own implementation, and return to 
the client its own implementation. The wrapper stream will store the original 
stream and `struct AdbcDriver* private_driver` in the ArrowArrayStream's 
`private_data`. When the caller calls `AdbcErrorFromArrayStream`, which is 
implemented by the driver manager, the driver manager can then forward the call 
to the driver's `AdbcErrorFromArrayStream` implementation.


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