pub fn classify_datafusion_error(err: &DataFusionError) -> CodeExpand 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.