huaxingao commented on PR #47233:
URL: https://github.com/apache/spark/pull/47233#issuecomment-2235529448

   I think this over, maybe we should support write options. We can have 
something like this:
   ```
   SQL:
   UPDATE table
       SET column_name = value
       WITH (key = value)
   
   DataFrame API:
   spark.table("source")
       .set(Map("salary" -> lit(-1)), $"pk" >= 2)
       .option("key", "value")
       .update()
   ```
   


-- 
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: reviews-unsubscr...@spark.apache.org

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