PrimitiveAggregateAsFold
com.choreograph.tyda.rewrite.PrimitiveAggregateAsFold
object PrimitiveAggregateAsFold
Converts a PrimitiveAggregate into a fold-like structure consisting of an initial value, a merge function, and a finish function.
This is used to rewrite aggregates over arrays into a fold operation that can be used with query engines like Spark that exposes reduce/aggregate function over arrays.
Attributes
- Source
- PrimitiveAggregateAsFold.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
In this article