kbendick commented on PR #4596: URL: https://github.com/apache/iceberg/pull/4596#issuecomment-1138884615
> @kbendick > > > Is there a reason that the files have to be 1MB? > > There is a streaming ingest job, it will create much small files. > > > But I think if you compacted files you probably wouldn’t have such issues during scan planning. > > Do you run table maintenance actions on your table? > > I have run `rewrite-files` action once a day. Ideally, reducing the interval may bypass this issue. But bypassing this issue requires carefully considering jvm heap configuration with existing small files. Even for streaming ingest, there are ways to make the small files problem better. For example, if you're ingesting with Flink, you can increase the time between commits. Or you can also play with `write.distribution.mode` to try to send data to the correct writer before generating the files. Which might reduce the overall number of files you have. -- 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]
