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

Better error message for unspported `Pivot` operator in Structure Streaming

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Structured Streaming
    • None

    Description

      pivot is an unsupported operation in structured streaming but produces a bad error message that is quite misleading.

       

      The following is the current error message for the pivot in SS:
      AnalysisException: Queries with streaming sources must be executed with writeStream.start();
       

      Attachments

        Activity

          People

            huanli.wang Huanli Wang
            huanli.wang Huanli Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: