zml1206 opened a new issue, #10521:
URL: https://github.com/apache/incubator-gluten/issues/10521
### Backend
VL (Velox)
### Bug description
```
select to_json(named_struct('aA', a, 'bB', b, 'cC', c, 'dD', d)) from t
```
```
!== Correct Answer - 3 == == Gluten Answer
- 3 ==
struct<> struct<>
![{"aA":1,"bB":"str","cC":[1,2,3],"dD":{"1":"v"}}]
[{"aa":1,"bb":"str","cc":[1,2,3],"dd":{"1":"v"}}]
![{"aA":2,"bB":"str2","cC":[],"dD":{"1":"v1","2":"v2"}}]
[{"aa":2,"bb":"str2","cc":[],"dd":{"1":"v1","2":"v2"}}]
![{"aA":3,"bB":"","cC":[1],"dD":{}}]
[{"aa":3,"bb":"","cc":[1],"dd":{}}]
```
### Gluten version
_No response_
### Spark version
None
### Spark configurations
_No response_
### 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: [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]