Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19363#discussion_r144873850
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/RelationalGroupedDataset.scala ---
@@ -479,7 +492,9 @@ private[sql] object RelationalGroupedDataset {
/**
* The Grouping Type
*/
- private[sql] trait GroupType
+ private[sql] trait GroupType {
+ override def toString: String = getClass.getSimpleName.replace("$", "")
--- End diff --
`getClass.getSimpleName.stripSuffix("$").stripSuffix("Type")`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]