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

   ### What changes were proposed in this pull request?
   
   This PR proposes to introduce WATERMARK clause in SQL statement. WATERMARK 
clause is to define the watermark against the relation, especially streaming 
relation where STREAM keyword is added to the relation (or table valued 
function).
   
   Please refer to the SQL reference doc for WATERMARK clause about its 
definition.
   
https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-qry-select-watermark
   
   The PR also contains new tests which show how to use it.
   
   ### Why are the changes needed?
   
   This is needed to unblock the stateful workload in Streaming Table & Flow 
being described as SQL statement.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, users can define the watermark for stateful workloads with SQL 
statement.
   
   ### How was this patch tested?
   
   New UTs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


-- 
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