paleolimbot commented on issue #811: URL: https://github.com/apache/arrow-adbc/issues/811#issuecomment-2123734942
> If you return an error to the driver...it just turns around and returns it back to you? One could also just state that if the consumer returns something non-zero that no other callbacks will be called (I don't have strong feelings about any of this). Having it be errno (or adbc status) just minimizes the number of types of things that get returned (makes it easier to reuse the return not OK macros). > The ADBC Error struct also contains other information such as an optional opaque binary blob for metadata values I believe that the `schema->metadata` encoding schema is capable of encoding the same blob key/value pairing as the ADBC errors. It would be a bit of a pain to pack/unpack it, of course, but any Arrow implementation supporting the C data interface probably can already do it. -- 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]
