apache / incubator-gluten

Gluten is a middle layer responsible for offloading JVM-based SQL engines' execution to native engines.
https://gluten.apache.org/
Apache License 2.0
1.14k stars 416 forks source link

[CH] Support fast calculation of decimal results #6975

Open loneylee opened 3 weeks ago

loneylee commented 3 weeks ago

Description

In spark 3.3, decimal decimal decimal , the precision will be increased at the same time, will use checkoverflow to decrease scale. Some times, decrease by int256, this is an inefficient operation.

lgbo-ustc commented 2 weeks ago

Could solve #7051