Open wjones127 opened 4 months ago
The parameter says that is max bytes spilled to disk:
https://github.com/delta-io/delta-rs/blob/77ddd7cb1c93aa28e5ce709d4e5d0f7c2bde2bd2/crates/core/src/operations/optimize.rs#L173-L174
But it actually should be max bytes to keep in memory before spilling to disk. We pass it to FairSpillPool.
https://github.com/delta-io/delta-rs/blob/77ddd7cb1c93aa28e5ce709d4e5d0f7c2bde2bd2/crates/core/src/operations/optimize.rs#L1167
It seems like this is still the case, I can make a docs PR to update this. But this does bring up other questions I had:
The parameter says that is max bytes spilled to disk:
https://github.com/delta-io/delta-rs/blob/77ddd7cb1c93aa28e5ce709d4e5d0f7c2bde2bd2/crates/core/src/operations/optimize.rs#L173-L174
But it actually should be max bytes to keep in memory before spilling to disk. We pass it to FairSpillPool.
https://github.com/delta-io/delta-rs/blob/77ddd7cb1c93aa28e5ce709d4e5d0f7c2bde2bd2/crates/core/src/operations/optimize.rs#L1167