paulpaul1076 opened a new issue, #8729:
URL: https://github.com/apache/iceberg/issues/8729
### Apache Iceberg version
None
### Query engine
None
### Please describe the bug 🐞
I have a job that reads orc files and writes them to a Spark table, the
files that are getting created are around 100MB, not 512MB, which is the
default value of write.parquet.page-size-bytes. I tried setting
write.parquet.page-size-bytes to 512MB manually, too, but still, the files are
512MB.
```
val df = spark.read.orc("s3://hdp-temp/arch/csv3_2023")
df.writeTo("db.batch_iceberg_test3")
.tableProperty("write.target-file-size-bytes", "536870912")
.createOrReplace()
```
<img width="578" alt="image"
src="https://github.com/apache/iceberg/assets/4533296/3a6509c4-3028-43fb-8957-d0e310f2a9cc">
--
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]