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

Method from

datafusion/ffi/src/udtf.rs:266–272  ·  view source on GitHub ↗
(value: FFI_TableFunction)

Source from the content-addressed store, hash-verified

264
265impl From<FFI_TableFunction> for Arc<dyn TableFunctionImpl> {
266 fn from(value: FFI_TableFunction) -> Self {
267 if (value.library_marker_id)() == crate::get_library_marker_id() {
268 Arc::clone(value.inner())
269 } else {
270 Arc::new(ForeignTableFunction(value))
271 }
272 }
273}
274
275impl TableFunctionImpl for ForeignTableFunction {

Callers

nothing calls this directly

Calls 4

get_library_marker_idFunction · 0.85
newFunction · 0.85
innerMethod · 0.45

Tested by

no test coverage detected