wForget opened a new issue, #7749:
URL: https://github.com/apache/incubator-gluten/issues/7749
### Backend
VL (Velox)
### Bug description
1. create test dataset
```
create table t1 as select url_decode('111111%00') as c1;
```
2. cast to integral type
check sqls:
```
select cast(c1 as int) from t1;
select cast(c1 as bigint) from t1;
```
gluten 1.2 + spark 3.5:
```
NULL
NULL
```
vanilla spark:
```
111111
111111
```
3. cast to fractional type
check sqls:
```
select cast(c1 as float) from t1;
select cast(c1 as double) from t1;
```
gluten 1.2 + spark 3.5:
```
111111.0
111111.0
```
vanilla spark:
```
111111.0
111111.0
```
Related PRs: https://github.com/apache/spark/pull/41535
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_No response_
--
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]