简体   繁体   中英

Aggregate Equivalent of Spark in Flink

Is there any equivalent of Spark's RDD Aggregate for Flink's DataSet ?

After a few hours of searching it seems there is nothing.

Flink's DataSet API has an aggregate(agg: Aggregations, field: String): AggregateDataSet[T] but from its documentaion it seems its not similar to Spark.

Do I have to implement a custom Aggregations ?

它与Spark并不完全相同,但是您看过reduce了吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM