datafusion-contrib / datafusion-contrib/datafusion-functions-json
Support `to_json` function on `struct` type
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 62
- Forks
- 33
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 9
Description
Is your feature request related to a problem or challenge?
This request is to support to_json in comet https://github.com/apache/datafusion-comet/issues/631. Rather implementing this in comet, i think we should have this function over here and let comet rely on datafusion. Since we also support struct now, this would be a good to have feature.
to_json function Converts a column containing a structs to JSON string. We can incrementally support this functions for other types.
Describe the solution you'd like
TBD
Describe alternatives you've considered
No response
Additional context
No response
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
The issue names no source file, test, or entry point. Begin by reviewing the repository’s existing JSON-function implementations and the referenced DataFusion Comet issue #631; clarify the expected struct-to-JSON behavior and supported input types before adding focused coverage for the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100