Skip to content

Commit

Permalink
fix: rebase develop
Browse files Browse the repository at this point in the history
  • Loading branch information
v0y4g3r committed Oct 7, 2023
1 parent 1829f13 commit 79e8359
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/table/src/predicate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ impl<'a> TimeRangePredicateBuilder<'a> {
.and_then(|(ts, _)| ts.convert_to(self.ts_col_unit))
.map(TimestampRange::single),
Operator::Lt => {
let Some((ts, reverse)) = self
.get_timestamp_filter(left, right)else {
let Some((ts, reverse)) = self.get_timestamp_filter(left, right) else {
return None;
};
if reverse {
Expand All @@ -202,8 +201,7 @@ impl<'a> TimeRangePredicateBuilder<'a> {
}
}
Operator::LtEq => {
let Some((ts, reverse)) = self
.get_timestamp_filter(left, right)else {
let Some((ts, reverse)) = self.get_timestamp_filter(left, right) else {
return None;
};
if reverse {
Expand All @@ -217,8 +215,7 @@ impl<'a> TimeRangePredicateBuilder<'a> {
}
}
Operator::Gt => {
let Some((ts, reverse)) = self
.get_timestamp_filter(left, right)else {
let Some((ts, reverse)) = self.get_timestamp_filter(left, right) else {
return None;
};
if reverse {
Expand All @@ -235,8 +232,7 @@ impl<'a> TimeRangePredicateBuilder<'a> {
}
}
Operator::GtEq => {
let Some((ts, reverse)) = self
.get_timestamp_filter(left, right)else {
let Some((ts, reverse)) = self.get_timestamp_filter(left, right) else {
return None;
};
if reverse {
Expand Down

0 comments on commit 79e8359

Please sign in to comment.