datafusion-contrib / datafusion-contrib/datafusion-functions-json
Allow accessing nested json
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 62
- Forks
- 33
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 9
Description
A json item that is itself a string that is valid json:
select '{"usage":"[123]"}'->'usage'->>0
Currently gives null, as does Postgres.
But IMO it would be a better user experience if it "just worked"
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
No file or test is named in the issue. Start by reproducing the SQL query and locating the implementation of the nested JSON access operators; then determine how valid JSON strings should be handled and add coverage for the example. Done means the query returns the nested array value instead of null.
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