apache / apache/gluten

[VL] Result mismatch using get_json_object when json input is invalid

Open
#9,732 2 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

Reproducing SQL: select get_json_object('{"c": "1", "a":""""}','$.c');
vanilla spark result: NULL
gluten result: 1

Perhaps, the reason is that SIMDjson parses JSON on demand, which means JSON could not be fully parsed and validated.

### Gluten version

Gluten-1.3

### Spark version

Spark-3.5.x

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

```bash

```

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.