From eb1608cc82b4f699774892f3b5cfbdf253f5c8d3 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Thu, 26 Sep 2024 18:54:07 -0700 Subject: [PATCH] style: format --- src/common/function/src/scalars/geo/h3.rs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/common/function/src/scalars/geo/h3.rs b/src/common/function/src/scalars/geo/h3.rs index b5e40da304f..6361d71316d 100644 --- a/src/common/function/src/scalars/geo/h3.rs +++ b/src/common/function/src/scalars/geo/h3.rs @@ -645,10 +645,7 @@ impl Function for H3CellToChildren { .children(res) .map(|child| Value::from(u64::from(child))) .collect(); - ListValue::new( - children, - ConcreteDataType::uint64_datatype(), - ) + ListValue::new(children, ConcreteDataType::uint64_datatype()) }); if let Some(list_value) = result { @@ -879,10 +876,7 @@ impl Function for H3GridDisk { .into_iter() .map(|child| Value::from(u64::from(child))) .collect(); - ListValue::new( - children, - ConcreteDataType::uint64_datatype(), - ) + ListValue::new(children, ConcreteDataType::uint64_datatype()) }); if let Some(list_value) = result { @@ -943,10 +937,7 @@ impl Function for H3GridDiskDistances { .into_iter() .map(|(child, _distance)| Value::from(u64::from(child))) .collect(); - ListValue::new( - children, - ConcreteDataType::uint64_datatype(), - ) + ListValue::new(children, ConcreteDataType::uint64_datatype()) }); if let Some(list_value) = result {