Jacek Laskowski created SPARK-21313:
---------------------------------------

             Summary: ConsoleSink's string representation
                 Key: SPARK-21313
                 URL: https://issues.apache.org/jira/browse/SPARK-21313
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 2.1.1
            Reporter: Jacek Laskowski
            Priority: Trivial


Add {{toString}} with options for {{ConsoleSink}} so it shows nicely in query 
progress.

*BEFORE*

{code}
  "sink" : {
    "description" : 
"org.apache.spark.sql.execution.streaming.ConsoleSink@4b340441"
  }
{code}

*AFTER*

{code}
  "sink" : {
    "description" : "ConsoleSink[numRows=10, truncate=false]"
  }
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to