Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/20070#discussion_r159143833
--- Diff:
examples/src/main/scala/org/apache/spark/examples/ml/QuantileDiscretizerExample.scala
---
@@ -45,7 +45,7 @@ object QuantileDiscretizerExample {
.setNumBuckets(3)
val result = discretizer.fit(df).transform(df)
- result.show()
+ result.show(false)
--- End diff --
Which other examples? most do not set this, and the Java equivalent doesn't
either. If there's a good reason that the output needs to be untruncated,
that's fine, just also change the Java example.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]