domoritz opened a new issue #802: URL: https://github.com/apache/arrow-rs/issues/802
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** `infer_field_schema` infers any integer to be an int64: https://github.com/apache/arrow-rs/blob/9ca59b6cc0571f86862836788f3a1ccf4e91f370/arrow/src/csv/reader.rs#L86. This means that data parsed as CSV with the automatic schema is going to be much larger than necessary. **Describe the solution you'd like** Integers should only be as long as necessary to represent the numbers. Similarly, floats should only be as large as needed to accurately represent the numbers in the data. **Describe alternatives you've considered** The current behavior works but doesn't use the format efficiently. -- 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]
