MCPcopy Create free account
hub / github.com/apache/paimon-rust / to_datafusion_error

Function to_datafusion_error

crates/integrations/datafusion/src/error.rs:21–23  ·  view source on GitHub ↗

Converts a Paimon error into a DataFusion error.

(error: paimon::Error)

Source from the content-addressed store, hash-verified

19
20/// Converts a Paimon error into a DataFusion error.
21pub fn to_datafusion_error(error: paimon::Error) -> datafusion::error::DataFusionError {
22 datafusion::error::DataFusionError::External(GenericError::from(error))
23}

Callers 5

tableMethod · 0.85
deregister_tableMethod · 0.85
handle_truncate_tableMethod · 0.85
loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected