MCPcopy Create free account
hub / github.com/apache/datafusion / version

Function version

datafusion/ffi/src/lib.rs:62–66  ·  view source on GitHub ↗

Returns the major version of the FFI implementation. If the API evolves, we use the major version to identify compatibility over the unsafe boundary. This call is intended to be used by implementers to validate they have compatible libraries.

()

Source from the content-addressed store, hash-verified

60/// boundary. This call is intended to be used by implementers to validate
61/// they have compatible libraries.
62pub extern "C" fn version() -> u64 {
63 let version_str = env!("CARGO_PKG_VERSION");
64 let version = semver::Version::parse(version_str).expect("Invalid version string");
65 version.major
66}
67
68static LIBRARY_MARKER: u8 = 0;
69

Callers 1

get_moduleFunction · 0.85

Calls

no outgoing calls

Tested by 1

get_moduleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…