tustvold commented on issue #4856: URL: https://github.com/apache/arrow-rs/issues/4856#issuecomment-1735644687
I think my comment was open to misinterpretation, my question does not concern whether we should widen the type based on observed data, I think we definitely should. The challenge is the decimal types are a lot more than just wider integers, they also have notions of precision and scale, as they're designed to encode fixed precision decimals. Whilst we _could_ just infer a scale of 0 and the maximum precision, this doesn't immediately seem right.... This brings me back to my original question, what do other implementations do here, e.g. what does arrow-cpp/pyarrow do? -- 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]
