chore: clippy 🔨

pull/24376/head
Stuart Carnie 2023-04-17 12:08:53 +10:00
parent 3f4e38aa78
commit 4ef8daf498
No known key found for this signature in database
GPG Key ID: 848D9C9718D78B4F
1 changed files with 4 additions and 4 deletions

View File

@ -1126,10 +1126,10 @@ impl<'a> InfluxQLToLogicalPlan<'a> {
// All other queries only require the value of the selector
let data_type = &expr.get_type(&schemas.df_schema)?;
match name {
"first" => selector_first(&data_type, SelectorOutput::Value),
"last" => selector_last(&data_type, SelectorOutput::Value),
"max" => selector_max(&data_type, SelectorOutput::Value),
"min" => selector_min(&data_type, SelectorOutput::Value),
"first" => selector_first(data_type, SelectorOutput::Value),
"last" => selector_last(data_type, SelectorOutput::Value),
"max" => selector_max(data_type, SelectorOutput::Value),
"min" => selector_min(data_type, SelectorOutput::Value),
_ => unreachable!(),
}
.call(vec![expr, "time".as_expr()])