ivoson opened a new pull request #34220:
URL: https://github.com/apache/spark/pull/34220


   ### What changes were proposed in this pull request?
   Fast fail when 
[Dataset.withWatermark](https://github.com/apache/spark/blob/v3.2.0-rc7/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala#L740)
 is triggered on non-streaming Dataset.
   
   ### Why are the changes needed?
   Now it can be triggered on non-streaming dataset, and there is a specific 
rule to eliminate in analyze phase. User can call this API and nothing happens, 
it may be a little bit confused.
   If the usage is not as expected, we can just fast fail it with explicit 
message, and then we do not have to keep on extra specific rule for it.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Ut added.
   


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