You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "littlelittlewhite09 (via GitHub)" <gi...@apache.org> on 2026/06/24 10:51:05 UTC
[I] Floating-point precision issues [gluten]
littlelittlewhite09 opened a new issue, #12356:
URL: https://github.com/apache/gluten/issues/12356
### Backend
VL (Velox)
### Bug description
SQL:select cast (2.8 / cast(0.0130597014925373134 as decimal(38,19)) as double);
Gluten: 214.39999999999998
vanilla Spark: 214.4
When the HiveTable inserted has field which is Integer Type, this issue may cause wrong result.
Gluten version: 1.6.0
Spark version: 3.5.8
### Gluten version
_No response_
### Spark version
None
### Spark configurations
spark.sql.decimalOperations.allowPrecisionLoss=false
when spark.sql.decimalOperations.allowPrecisionLoss=true; Gluten will return right result.
### System information
_No response_
### Relevant logs
```bash
```
--
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] Floating-point precision issues [gluten]
Posted by "rui-mo (via GitHub)" <gi...@apache.org>.
rui-mo closed issue #12356: Floating-point precision issues
URL: https://github.com/apache/gluten/issues/12356
--
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
Re: [I] Floating-point precision issues [gluten]
Posted by "Smallfu666 (via GitHub)" <gi...@apache.org>.
Smallfu666 commented on issue #12356:
URL: https://github.com/apache/gluten/issues/12356#issuecomment-5055938460
take
--
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