alamb commented on code in PR #17190: URL: https://github.com/apache/datafusion/pull/17190#discussion_r2282322284
########## datafusion/ffi/src/record_batch_stream.rs: ########## @@ -96,6 +100,12 @@ unsafe extern "C" fn schema_fn_wrapper(stream: &FFI_RecordBatchStream) -> Wrappe (*stream).schema().into() } +unsafe extern "C" fn release_fn_wrapper(provider: &mut FFI_RecordBatchStream) { + let private_data = Review Comment: I double checked that the `private_data` is actually a `RecordBatchStreamPrivateData` that is created with the constructor https://github.com/apache/datafusion/blob/327f8bceae270cceffeb843d271f053b8570ad5e/datafusion/ffi/src/record_batch_stream.rs#L80-L84 -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org