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

Do not allow sort before aggregation in Structured Streaming plan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.2, 2.1.0
    • 2.0.3, 2.1.1, 2.2.0
    • Structured Streaming
    • None

    Description

      Sort in a streaming plan should be allowed only after a aggregation in complete mode. Currently it is incorrectly allowed when present anywhere in the plan. It gives unpredictable potentially incorrect results.

      Attachments

        Activity

          People

            tdas Tathagata Das
            tdas Tathagata Das
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: