Skip to main content

classify_datafusion_error

Function classify_datafusion_error 

Source
pub fn classify_datafusion_error(err: &DataFusionError) -> Code
Expand description

Classifies the root cause of a DataFusionError into the gRPC status code that best distinguishes “the caller’s SQL/input was bad” from “the server broke”: Execution/Configuration land under InvalidArgument since they signal bad input, while ArrowError stays Internal since it reflects a real server-side decode failure.