[ 
https://issues.apache.org/jira/browse/SPARK-40937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728140#comment-17728140
 ] 

Derek Smith commented on SPARK-40937:
-------------------------------------

A notable difference between the SQL interface and the APIs is that the SQL 
returns statistics on rows affected. This is highly valuable for observability 
and validation. It would be impactful to have the APIs support returning these 
metrics as well. 

> Support programming APIs for update/delete/merge
> ------------------------------------------------
>
>                 Key: SPARK-40937
>                 URL: https://issues.apache.org/jira/browse/SPARK-40937
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Shixiong Zhu
>            Priority: Major
>
> Today Spark supports update/delete/merge commands in SQL. It would be great 
> to add programming APIs (Scala, Java, Python etc) so that users can use these 
> commands directly rather than manually creating SQL statements in their non 
> SQL applications.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to