Github user MLnick commented on the issue: https://github.com/apache/spark/pull/17819 The issue is the in the trait `setXXX` returns `this.type` which in Java in the concrete class doesn't work, so the `setXXX` methods need to be implemented in the concrete subclass. See the decision tree algos for example of this. The `getXXX` are ok since they typically return a concrete type.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org