GitHub user jaceklaskowski opened a pull request: https://github.com/apache/spark/pull/18539
[SPARK-21313][SS] ConsoleSink's string representation ## What changes were proposed in this pull request? Add `toString` with options for `ConsoleSink` so it shows nicely in query progress. **BEFORE** ``` "sink" : { "description" : "org.apache.spark.sql.execution.streaming.ConsoleSink@4b340441" } ``` **AFTER** ``` "sink" : { "description" : "ConsoleSink[numRows=10, truncate=false]" } ``` ## How was this patch tested? Local build You can merge this pull request into a Git repository by running: $ git pull https://github.com/jaceklaskowski/spark SPARK-21313-ConsoleSink-toString Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18539.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18539 ---- commit 39a132f58092b81675bf271977cb13ba6b5dc428 Author: Jacek Laskowski <ja...@japila.pl> Date: 2017-07-05T08:15:37Z [SPARK-21313][SS] ConsoleSink's string representation ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org