Hi,

You can only apply aggregate after groupBy. But you can apply filter before 
groupBy.

So you can do like this:  

distancePoints.filter(filterFunction).groupBy(1)


- Jark Wu 

> 在 2016年8月17日,下午5:29,subash basnet <yasub...@gmail.com> 写道:
> 
> here

Reply via email to