Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Sep 27, 2024
1 parent 4d21793 commit eb1608c
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/common/function/src/scalars/geo/h3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit eb1608c

Please sign in to comment.