baibaichen opened a new issue, #11917: URL: https://github.com/apache/gluten/issues/11917
## Backend VL (Velox) ## Bug description `DECIMAL(38,18) + DECIMAL(38,18)` produces a result with incorrect scale (off by 1 digit, i.e., 10x error). Spark 4.1 introduced `NumericEvalContext` (SPARK-53968) which freezes `allowPrecisionLoss=true` in expression state. Velox does not correctly receive this context, resulting in decimal scale mismatch. This is **not** ANSI-related. Spark 4.1 only. Parent issue: #11550 ### Impact | Suite | Failures | spark40 | spark41 | |-------|:--------:|:-------:|:-------:| | GlutenSimpleSQLViewSuite | 1 | 🟢 | 🔴 | Note: GlutenSimpleSQLViewSuite has 2 failures total — the other failure (error condition) is tracked under #11912. ### References - Apache Spark JIRA: [SPARK-53968](https://issues.apache.org/jira/browse/SPARK-53968) -- 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]
