MCPcopy Create free account
hub / github.com/apache/datafusion / GroupingSet

Enum GroupingSet

datafusion/expr/src/expr.rs:1418–1425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1416/// for Apache Spark definition.
1417#[derive(Clone, PartialEq, Eq, PartialOrd, Hash, Debug)]
1418pub enum GroupingSet {
1419 /// Rollup grouping sets
1420 Rollup(Vec<Expr>),
1421 /// Cube grouping sets
1422 Cube(Vec<Expr>),
1423 /// User-defined grouping sets
1424 GroupingSets(Vec<Vec<Expr>>),
1425}
1426
1427impl GroupingSet {
1428 /// Return all distinct exprs in the grouping set. For `CUBE` and `ROLLUP` this

Callers 15

map_childrenMethod · 0.85
grouping_setFunction · 0.85
cubeFunction · 0.85
rollupFunction · 0.85
sql_rollup_to_exprMethod · 0.85
sql_cube_to_exprMethod · 0.85
serialize_exprFunction · 0.85
parse_exprFunction · 0.85
roundtrip_grouping_setsFunction · 0.85
roundtrip_rollupFunction · 0.85
roundtrip_cubeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…