Commits


ZhangHuiGui authored and GitHub committed f100eff39fd
GH-40308: [C++][Gandiva] Add support for compute module's decimal promotion rules (#40434) ### Rationale for this change Gandiva decimal divide rules are different with our compute module's rules. Some systems such as Redshift use the same rules as our compute module's rules. So it's useful that Gandiva support our compute module's rules too. ### What changes are included in this PR? Support an option argument in GetResultType for compatibilty with **compute module's decimal promotion rules**. ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #40308 Authored-by: ZhangHuiGui <hugo.zhang@openpie.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>