cloud-fan commented on a change in pull request #23304: [SPARK-26353][SQL]Add 
typed aggregate functions: max&&min
URL: https://github.com/apache/spark/pull/23304#discussion_r247388773
 
 

 ##########
 File path: 
sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetAggregatorSuiteBase.java
 ##########
 @@ -61,5 +61,13 @@ public void tearDown() {
     return ds.groupByKey((MapFunction<Tuple2<String, Integer>, String>) value 
-> value._1(),
       Encoders.STRING());
   }
+
+  protected Dataset<Tuple2<Double, Double>> generateEmptyDataset() {
 
 Review comment:
   if it's only used in one place, let's inline this method.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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