Skip to content

Commit

Permalink
chore: fix unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Dec 17, 2024
1 parent 7ac79bd commit e20130e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/mito2/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,6 @@ pub enum Error {
location: Location,
},

#[snafu(display("Failed to build time range filters for value: {:?}", timestamp))]
BuildTimeRangeFilter {
timestamp: Timestamp,
#[snafu(implicit)]
location: Location,
},

#[snafu(display("Failed to open region"))]
OpenRegion {
#[snafu(implicit)]
Expand Down Expand Up @@ -1023,7 +1016,6 @@ impl ErrorExt for Error {
ChecksumMismatch { .. } => StatusCode::Unexpected,
RegionStopped { .. } => StatusCode::RegionNotReady,
TimeRangePredicateOverflow { .. } => StatusCode::InvalidArguments,
BuildTimeRangeFilter { .. } => StatusCode::Unexpected,
UnsupportedOperation { .. } => StatusCode::Unsupported,
RemoteCompaction { .. } => StatusCode::Unexpected,

Expand Down

0 comments on commit e20130e

Please sign in to comment.