You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/08/31 23:00:47 UTC

[GitHub] [spark] gatorsmile commented on a change in pull request #25626: [SPARK-28892][SQL] Add UPDATE support for DataSource V2

gatorsmile commented on a change in pull request #25626: [SPARK-28892][SQL] Add UPDATE support for DataSource V2
URL: https://github.com/apache/spark/pull/25626#discussion_r319738585
 
 

 ##########
 File path: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
 ##########
 @@ -215,6 +215,7 @@ statement
     | SET .*?                                                          #setConfiguration
     | RESET                                                            #resetConfiguration
     | DELETE FROM multipartIdentifier tableAlias whereClause           #deleteFromTable
+    | UPDATE multipartIdentifier tableAlias setClause whereClause      #updateTable
 
 Review comment:
   whereClause is optional. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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