TomokoKomiyama commented on issue #26192: [SPARK-29535][SQL] ADD some aggregate 
functions for Column in RelationalGroupedDataset.scala
URL: https://github.com/apache/spark/pull/26192#issuecomment-545224163
 
 
   @HyukjinKwon 
   We can use `agg`, but I think it would be easier for users to use these 
aggregation functions with Colmun type in the similar way with String one. 
   `df.groupBy("_c0").max("_c1")`
   `df.groupBy("_c0").max($"_c1")`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to