pub fn from_datafusion_error(error: DataFusionError) -> Error
Converts a datafusion error into an iceberg error.