xianyinxin opened a new pull request #25626: [SPARK-28892][SQL] Add UPDATE support for DataSource V2 URL: https://github.com/apache/spark/pull/25626 ### What changes were proposed in this pull request? This PR adds UPDATE support for DataSource V2, which is a simple following work of SPARK-28351 where we've add DELETE support. This PR suggests a simple ``` void updateWhere(Map<String, Expression> sets, Filter[] filters); ``` interface by implementing which datasource can update data that matches the filter expressions with the given updated data. ### Why are the changes needed? Uses may have to update their data because of the data-change in business, and some data sources also provide such operation interface. So if users can operate the data via SparkSQL directly, it would be convenient. ### Does this PR introduce any user-facing change? No. It's complete new, but not a change. ### How was this patch tested? New test cases 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
