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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]