mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-09-12 16:32:16 +00:00
fix(function): borrow invalid AVG scalar argument type
Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -99,7 +99,7 @@ impl Function for AvgCalcFunction {
|
||||
}
|
||||
Ok(ColumnarValue::Array(Arc::new(builder.finish())))
|
||||
}
|
||||
_ => Err(invalid_type(self.name(), arg.data_type())),
|
||||
_ => Err(invalid_type(self.name(), &arg.data_type())),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user