Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19156#discussion_r149641764
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/stat/Summarizer.scala ---
    @@ -527,27 +570,28 @@ private[ml] object SummaryBuilderImpl extends Logging 
{
           weightExpr: Expression,
           mutableAggBufferOffset: Int,
           inputAggBufferOffset: Int)
    -    extends TypedImperativeAggregate[SummarizerBuffer] {
    +    extends TypedImperativeAggregate[SummarizerBuffer] with 
ImplicitCastInputTypes {
     
    -    override def eval(state: SummarizerBuffer): InternalRow = {
    +    override def eval(state: SummarizerBuffer): Any = {
    --- End diff --
    
    why change the return type?


---

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

Reply via email to