substrait-io / substrait-java

Apache License 2.0
77 stars 72 forks source link

feat(spark): add MakeDecimal support #298

Closed andrew-coleman closed 1 month ago

andrew-coleman commented 1 month ago

The Spark query optimiser injects an internal function (MakeDecimal) when numeric literals appear in a query. This commit adds support for this, which drastically improves the pass rate for the TPC-DS test suite.