You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "baibaichen (via GitHub)" <gi...@apache.org> on 2026/04/11 17:19:16 UTC
[I] [VL] Spark 4.1: Velox decimal arithmetic does not respect allowPrecisionLoss context (SPARK-53968) [gluten]
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] Spark 4.1: Velox decimal arithmetic does not respect allowPrecisionLoss context (SPARK-53968) [gluten]
Posted by "zhouyuan (via GitHub)" <gi...@apache.org>.
zhouyuan closed issue #11917: [VL] Spark 4.1: Velox decimal arithmetic does not respect allowPrecisionLoss context (SPARK-53968)
URL: https://github.com/apache/gluten/issues/11917
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org