manuzhang commented on code in PR #9439:
URL: https://github.com/apache/iceberg/pull/9439#discussion_r1457260519
##########
docs/spark-writes.md:
##########
@@ -343,7 +343,8 @@
data.writeTo("prod.db.sample").option("mergeSchema","true").append()
Iceberg's default Spark writers require that the data in each spark task is
clustered by partition values. This
distribution is required to minimize the number of file handles that are held
open while writing. By default, starting
in Iceberg 1.2.0, Iceberg also requests that Spark pre-sort data to be written
to fit this distribution. The
-request to Spark is done through the table property `write.distribution-mode`
with the value `hash`.
+request to Spark is done through the table property `write.distribution-mode`
with the value `hash`. Spark doesn't respect
+distribution mode in CTAS/RTAS before 3.5.0.
Review Comment:
Tests added. Please check again.
--
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]