diff --git a/src/metric-engine/src/error.rs b/src/metric-engine/src/error.rs index 526affec3b1b..7827a07fd205 100644 --- a/src/metric-engine/src/error.rs +++ b/src/metric-engine/src/error.rs @@ -181,13 +181,6 @@ pub enum Error { location: Location, }, - #[snafu(display("Column {} not found after alter", column_name))] - ColumnNotFoundAfterAlter { - column_name: String, - #[snafu(implicit)] - location: Location, - }, - #[snafu(display("Invalid region metadata"))] InvalidMetadata { source: store_api::metadata::MetadataError, @@ -258,8 +251,7 @@ impl ErrorExt for Error { | SerializeColumnMetadata { .. } | DecodeColumnValue { .. } | ParseRegionId { .. } - | InvalidMetadata { .. } - | ColumnNotFoundAfterAlter { .. } => StatusCode::Unexpected, + | InvalidMetadata { .. } => StatusCode::Unexpected, PhysicalRegionNotFound { .. } | LogicalRegionNotFound { .. } => { StatusCode::RegionNotFound