Arrays and Aggregates

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-02-18 05:04:35 -08:00
committed by Anand Krishnamoorthi
parent 351483d100
commit d84096024d
4 changed files with 181 additions and 2 deletions
+16 -2
View File
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
pub mod aggregates;
pub mod arrays;
pub mod comparison;
pub mod numbers;
pub mod sets;
@@ -28,12 +30,24 @@ lazy_static! {
m.insert("floor", numbers::floor);
m.insert("numbers.range", numbers::range);
m.insert("rand.intn", numbers::intn);
m.insert("round", numbers::round);
m.insert("round", numbers::round);
// aggregates
m.insert("count", aggregates::count);
m.insert("max", aggregates::max);
m.insert("min", aggregates::min);
m.insert("product", aggregates::product);
m.insert("sort", aggregates::sort);
m.insert("sum", aggregates::sum);
// arrays
m.insert("array.concat", arrays::concat);
m.insert("array.reverse", arrays::reverse);
// sets
m.insert("intersection", sets::intersection_of_set_of_sets);
m.insert("union", sets::union_of_set_of_sets);
m
};
}