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

Method group_expr_len

datafusion/expr/src/logical_plan/plan.rs:3697–3699  ·  view source on GitHub ↗

Get the length of the group by expression in the output schema This is not simply group by expression length. Expression may be GroupingSet, etc. In these case we need to get inner expression lengths.

(&self)

Source from the content-addressed store, hash-verified

3695 /// This is not simply group by expression length. Expression may be
3696 /// GroupingSet, etc. In these case we need to get inner expression lengths.
3697 pub fn group_expr_len(&self) -> Result<usize> {
3698 grouping_set_expr_count(&self.group_expr)
3699 }
3700
3701 /// Returns the data type of the grouping id.
3702 ///

Callers 1

optimize_projectionsFunction · 0.80

Calls 1

grouping_set_expr_countFunction · 0.85

Tested by

no test coverage detected