Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21313

ConsoleSink's string representation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.1.1
    • 2.3.0
    • Structured Streaming
    • None

    Description

      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]"
        }
      

      Attachments

        Issue Links

          Activity

            People

              jlaskowski Jacek Laskowski
              jlaskowski Jacek Laskowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: