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


   ### What changes were proposed in this pull request?
   
   This PR renames `SupportsStreamingUpdate` to 
`SupportsStreamingUpdateAsAppend` as the new interface name represents the 
actual behavior clearer. This PR also removes the `update()` method (so the 
interface is more likely a marker), as the implementations of 
`SupportsStreamingUpdateAsAppend` should support append mode by default, hence 
no need to trigger some flag on it.
   
   ### Why are the changes needed?
   
   SupportsStreamingUpdate was intended to revive the functionality of 
Streaming update output mode for internal data sources, but despite the name, 
that interface isn't really used to do actual update on sink; all sinks are 
implementing this interface to do append, so strictly saying, it's just to 
support update as append. Renaming the interface would make it clear.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, as the class is only for internal data sources.
   
   ### How was this patch tested?
   
   Jenkins test will follow.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to