apache / apache/datafusion-sqlparser-rs
Will the key in MapAccess support Express?
Open
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 772
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 17
Description
The index of an array in ClickHouse can be an function such as :
```sql
string.values[indexOf(string.names, 'endpoint')]='/health'
```
PS: If sqlparser wants to support this syntax,I can submit a PR to support it.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names MapAccess and gives a ClickHouse array-index example, but no file or test. Start by locating MapAccess handling in the Rust SQL parser and checking how array subscripts and function expressions are tested. Done means the shown expression is accepted by the parser with regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sql
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100