alamb commented on code in PR #27929:
URL: https://github.com/apache/datafusion/pull/27929#discussion_r4761630616


##########
datafusion/ffi/README.md:
##########
@@ -17,28 +16,45 @@ program compiled by a different Rust compiler, there is no 
guarantee that you
 can access the data structures. In order to share code between libraries loaded
 at runtime, you need to use Rust's [FFI] (Foreign Function Interface (FFI)).
 
-The purpose of this crate is to define interfaces between DataFusion libraries
-that will remain stable across different versions of DataFusion. This allows
-users to write libraries that can interface between each other at runtime 
rather
-than require compiling all of the code into a single executable.
+The purpose of this crate is to pass DataFusion runtime structures between
+libraries running in the same process without being compiled into a single
+executable, such as Python modules that are each a separate dynamically loaded
+library.
 
-In general, it is recommended to run the same version of DataFusion by both the
-producer and consumer of the data and functions shared across the [FFI], but
-this is not strictly required.
+Both sides of the [FFI] boundary must use the same major version of this crate.
+See [Version Compatibility](#version-compatibility) for details.
 
 See [API Docs] for details and examples.
 
+## Version Compatibility
+
+The interfaces in this crate are **not** stable across major versions of

Review Comment:
   I am pretty sure this is correct and the actual usecase of this crate. 
Please correct me if I am wrong



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to