Github user jkbradley commented on a diff in the pull request: https://github.com/apache/spark/pull/19993#discussion_r162747183 --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/Bucketizer.scala --- @@ -201,9 +184,13 @@ final class Bucketizer @Since("1.4.0") (@Since("1.4.0") override val uid: String @Since("1.4.0") override def transformSchema(schema: StructType): StructType = { - if (isBucketizeMultipleColumns()) { + ParamValidators.checkExclusiveParams(this, "inputCol", "inputCols") --- End diff -- I see. I'll see if I can come up with something which is generic but handles these other checks.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org