alamb commented on issue #15028: URL: https://github.com/apache/datafusion/issues/15028#issuecomment-2703696204
Actually, with some more digging I see DataFusion already does report the usage here: https://github.com/apache/datafusion/blob/da4293323032e2408c9e3b9b28e644a96aea0f13/datafusion/datasource-parquet/src/file_format.rs#L993-L992 Maybe we could add some way for the parquet writer to flush when under memory pressure The downside of doing so is that the written parquet files will likely be larger / less efficiently encoded -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org