Skip to content

Commit

Permalink
chore: remove unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
killme2008 committed Dec 6, 2023
1 parent 6c2b675 commit ce8995a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/common/query/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ pub enum Error {

#[snafu(display("Invalid function args: {}", err_msg))]
InvalidFuncArgs { err_msg: String, location: Location },

#[snafu(display("Execute function error: {msg}"))]
Execute { msg: String, location: Location },
}

pub type Result<T> = std::result::Result<T, Error>;
Expand All @@ -186,7 +183,6 @@ impl ErrorExt for Error {
| Error::BadAccumulatorImpl { .. }
| Error::ToScalarValue { .. }
| Error::GetScalarVector { .. }
| Error::Execute { .. }
| Error::ArrowCompute { .. } => StatusCode::EngineExecuteQuery,

Error::InvalidInputType { source, .. }
Expand Down

0 comments on commit ce8995a

Please sign in to comment.