apache / apache/gluten

[CH] fallback for unsupported regex in re2

Open
#7,866 4 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 21h
Merged PRs (30d)
85

Description

### Backend

CH (ClickHouse)

### Bug description

OptimizedRegularExpression: cannot compile re2: d(?!d), error: invalid perl operator: (?!. Look at https://github.com/google/re2/wiki/Syntax for reference.

### Spark version

None

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the OptimizedRegularExpression path and compare the failing d(?!d) pattern with the RE2 syntax reference linked in the issue. Determine the intended fallback for unsupported expressions and add regression coverage for this case; done means the pattern no longer fails solely because RE2 rejects the Perl operator.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse
Domain
databases
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.