trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.49k stars 3.02k forks source link

Document hive.single-statement-writes #10899

Open mosabua opened 2 years ago

mosabua commented 2 years ago

Introduced by @electrum in Trino 370 with https://github.com/trinodb/trino/pull/10820

mosabua commented 2 years ago

Maybe you want to add that to your ongoing PR @findinpath ?

findepi commented 2 years ago

When a user would want to set hive.single-statement-writes? It looks like the flag brings no direct benefits?

findinpath commented 2 years ago

@electrum please do share some insights for when such a setting would be useful.

electrum commented 2 years ago

We would like to deprecate write support for transactions for the Hive connector. This flag allows enabling that behavior now, ensuring that nothing in your environment starts relying on it.

mosabua commented 2 years ago

Will you add that to your PR @findinpath .. and then get it merged before 370 is cut with the help of @findepi and @electrum ?

findinpath commented 2 years ago

https://github.com/trinodb/trino/pull/10831 updated.