CurtHagenlocher opened a new pull request, #4983:
URL: https://github.com/apache/arrow-adbc/pull/4983

   When a C# driver exported through `CAdbcDriverExporter` fails partway 
through reading a result stream, the error's status, vendor code, SQLSTATE and 
details are now preserved across the C ABI.
   
   Exported streams no longer go through Arrow's `CArrowArrayStreamExporter`. 
They keep the exception from a failed `get_next`/`get_schema`, return an errno 
matching the status (e.g. `ECANCELED` for `Cancelled`), and report the error 
through `AdbcErrorFromArrayStream`. On the consumer side, `CAdbcDriverImporter` 
calls the driver's `ErrorFromArrayStream` when a read fails and throws an 
`AdbcException` with the status and details, falling back to the previous 
message-only exception for 1.0 drivers or when the driver returns null.
   
   Because Apache.Arrow keeps the `ArrowArrayStream` callback fields internal, 
this adds internal structs with the same layout.
   
   This PR was prepared with AI assistance (Claude Code).
   
   Closes #4982
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


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