datafusion-contrib / datafusion-contrib/datafusion-functions-json
Looking up JSON using more than 1 array doesn't work
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 62
- Forks
- 33
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 9
Description
E.g. queries like
select json_get(more_nested.json_data, more_nested.str_key1, more_nested.str_key2) v from more_nested
As of #22 this will return an error instead of silently only using the first array, but in theory we could fully support this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the multi-array query shown in the issue and tracing the json_get implementation that currently rejects it after #22. Done means queries with more than one array argument resolve the full nested lookup rather than using only the first array or returning an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100