aokolnychyi commented on PR #8621:
URL: https://github.com/apache/iceberg/pull/8621#issuecomment-1732211168

   > I only wonder about the combination between this and our inability to 
handle distribution and sort orders in older Spark versions. Currently we do 
fail out when folks attempt to write unsourced data during a CTAS statement on 
older spark releases. This would cause those writes to succeed but probably 
create a huge number of files.
   
   Spark 3.5 respects the requested distribution in CTAS and RTAS. I added that 
in [SPARK-43088](https://issues.apache.org/jira/browse/SPARK-43088). There 
should be no use case where we would not request a hash distribution for a 
partitioned table by default. That means users would have to explicitly 
override the distribution mode to get into such a situation. If it happens, 
they probably are OK with the number of produced files?


-- 
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]

Reply via email to