kou commented on issue #40308: URL: https://github.com/apache/arrow/issues/40308#issuecomment-1996304983
> Below codes could prove this problem: I'm not sure what is the important part in the codes. Could you explain it? > our Redshift’s decimal promotion rules Could you show the URL that describes the rule? > is there any relevant background here? Based on the `kMinAdjustedScale` comment, it seems that the current precision doesn't have strong reason but it's compatible with SQLServer and Impala: https://github.com/apache/arrow/blob/6b1e254f3b62924f216e06e9e563e92c69f9efd3/cpp/src/gandiva/decimal_type_util.h#L54-L58 -- 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]
