apache / apache/gluten

[VL][1.5] Result mismatch of `upper` function

Open
#11,078 0 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

test sql:

```
select url_encode(upper(url_decode('%E1%83%9A')));
```

spark result: `%E1%83%9A`

gluten result: `%E1%B2%9A`

refer: https://en.wikipedia.org/wiki/Lasi_(letter)

### Gluten version

Gluten-1.5

### Spark version

Spark-3.5.x

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

```bash

```

Contributor guide

Open the contributing guide

Research direction

Start by running the provided SQL query with Gluten 1.5 and Velox, then compare its result with Spark 3.5.x. Investigate the uppercase and URL encode/decode path; done when the Gluten result matches Spark's `%E1%83%9A` output.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.