Re: DataFrame multiple agg on the same column

2017-10-07 Thread yohann jardin
Hey Somasundaram, Using a map is only one way to use the function agg. For the complete list: https://spark.apache.org/docs/1.5.2/api/java/org/apache/spark/sql/GroupedData.html Using the first one:

DataFrame multiple agg on the same column

2017-10-07 Thread Somasundaram Sekar
Hi, I have a GroupedData object, on which I perform aggregation of few columns since GroupedData takes in map, I cannot perform multiple aggregate on the same column, say I want to have both max and min of amount. So the below line of code will return only one aggregate per column