From 98bfa15ae5f7fd988de0606227ccb4b51d69c40f Mon Sep 17 00:00:00 2001 From: Oleks V Date: Mon, 10 Jun 2024 10:51:23 -0700 Subject: [PATCH] Update core/src/errors.rs Co-authored-by: Andy Grove --- core/src/errors.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/errors.rs b/core/src/errors.rs index 05b18f0ef..493880c3e 100644 --- a/core/src/errors.rs +++ b/core/src/errors.rs @@ -185,6 +185,7 @@ impl convert::From> for CometError { } } } + impl From for CometError { fn from(value: DataFusionError) -> Self { CometError::DataFusion { @@ -193,6 +194,7 @@ impl From for CometError { } } } + impl From for DataFusionError { fn from(value: CometError) -> Self { match value {