zeroshade commented on issue #49445: URL: https://github.com/apache/arrow/issues/49445#issuecomment-4189361140
The check definitely wouldn't hurt. Essentially the spec states that it *MUST* be non-null before any callbacks are called (see [here](https://github.com/apache/arrow/blob/d42c7ddcc233b8f372dfd7b74f51953517e16605/cpp/src/arrow/c/abi.h#L447)), so it *shouldn't* be null. But it couldn't hurt to add the null check just to properly error instead of segfault if someone messed it up. -- 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]
