siying opened a new pull request, #60032:
URL: https://github.com/apache/spark/pull/60032

   ### What changes were proposed in this pull request?
   
   This PR adds Structured Streaming SQL golden tests that run with
   `Trigger.AvailableNow` through `StreamingSQLQueryTestSuite`.
   
   The new inputs adapt representative queries from the batch SQL golden suite 
and
   keep the same feature-oriented file organization. They cover:
   
   - generators and correlated `UNNEST`;
   - `UNPIVOT`, event-time `PIVOT`, and `SELECT * EXCEPT`;
   - `GROUP BY ALL`, aliases, ordinals, aggregate `FILTER`, and `HAVING`;
   - pipe operators; and
   - stream-static joins written with `USING` and `NATURAL JOIN`.
   
   Both execution and analyzer golden files are included.
   
   ### Why are the changes needed?
   
   The batch SQL golden suite covers these query forms, but the Structured
   Streaming SQL suite did not exercise them. These tests verify that the same 
SQL
   forms analyze as streaming plans and produce the expected results when run to
   completion with `Trigger.AvailableNow`.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   The golden generation and non-generation runs both passed all 36 matching
   execution and analyzer tests:
   
   ```
   SPARK_GENERATE_GOLDEN_FILES=1 build/sbt \
     'sql/testOnly org.apache.spark.sql.StreamingSQLQueryTestSuite -- -z 
available-now-'
   
   build/sbt \
     'sql/testOnly org.apache.spark.sql.StreamingSQLQueryTestSuite -- -z 
available-now-'
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-5)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to