crepererum opened a new pull request, #3149: URL: https://github.com/apache/arrow-rs/pull/3149
**:warning: Includes #3148, so marking this as WIP.** # Which issue does this PR close? Closes #3147. # Rationale for this change In DataFusion, it would be nice to know how much data is allocated so we can bail out early instead of OOMing (a slight over-allocation is OK, so this can be measured after the fact). For that purpose, it would be nice to know how much memory a specific instance of `Field`/`DataType` requires. # What changes are included in this PR? `DataType::size` and `Schema::size`. # Are there any user-facing changes? New methods, not breaking. -- 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]
