Github user BryanCutler commented on the issue: https://github.com/apache/spark/pull/18982 @holdenk , the error was because I was calling `setDefault` with a separate `Param` and value. So for something like a `seed` param, the Long value would get converted to an Int in the exchange to Java if using Python 3 and then cause a cast error. The only solution I could find was to create another method in Scala that takes a single `ParamPair` value because I just couldn't get the existing `setDefault` for a list of `ParamPair`s to work. Let me know if this sounds ok or you have another idea. Thanks!
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org