Fokko opened a new issue, #8389: URL: https://github.com/apache/iceberg/issues/8389
### Feature Request / Improvement A Decimal has precision and scale. This is important for promotion when we promote a `decimal(4, 2)` to `decimal(4, 3)` then this doesn't fit, but is currently allowed. `decimal(4, 2)` can store `10.02`, and `decimal(4, 3)` can store `1.002`, but not `10.02` so we should not allow this promotion. Coincidentally, I also worked on this on the Arrow side: The common precision should be calculated, and used as a lower bound for the promoted type: https://github.com/apache/arrow/pull/36846/files#diff-34166c61c1bd83226ad1277c13dca57ba9afa62dc7fba5206146ef6d2abf623eR383-R385 ### Query engine None -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
