apache / apache/gluten

[VL] Results are mismatch with vanilla Spark when get_json_object({"dScore":0.0215434648799772}, "$.dScore")

Open
#4,928 5 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Backend

VL (Velox)

### Bug description

The following SQL might lead to wrong results, but it's not yet certain if there are other factors involved.
I will try to reproduce later.

```
select get_json_object(factor_context, '$.factor_trust_model_score') as model_score
FROM mart_finrisk.dwd_risk_antifraud_approve_scene_log_inc_d;
```

### Spark version

None

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

```bash
|gluten_model_score | vanilla_model_score
+--------------------+-----------------------
| 0.0215435 | 0.0215434648799772
| 0.0128806 | 0.012880573063864434
| 0.0114058 | 0.011405845787963208
| 0.00863517 | 0.008635174896913173
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.