kevinjqliu commented on issue #428:
URL: https://github.com/apache/iceberg-python/issues/428#issuecomment-1953026131

   Here's how it's done in Java. [`BaseTaskWriter.java` checks 
`targetFileSize`](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/io/BaseTaskWriter.java#L308)
 when writing and will create a new file when the file size target is met. 
   
   `targetFileSize` is set in 
[`SparkWrite`](https://github.com/apache/iceberg/blob/598552e134c2a31a6eb258cb2b071d08f04e079f/spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkWrite.java#L125C37-L125C55)
 which refers to the [`targetDataFileSize` property 
](https://github.com/apache/iceberg/blob/598552e134c2a31a6eb258cb2b071d08f04e079f/spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/SparkWriteConf.java#L170)
   
   [Default 
setting](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/TableProperties.java#L297)
 is 512 MB


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to