apache / apache/datafusion

Can `ctx.register_json` directly register and use a standard `JSON` array? `NdJson` is insufficient for handling general data.

Open
#14,146 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

I hope to directly use standard JSON, as most developers prefer this data format.

```json
[
{
"user_id": 1,
"nickname": "xx"
},
{
"user_id": 2,
"nickname": "xx"
}
]
```

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

I hope to directly use standard JSON, as most developers prefer this data format.

```json
[
{
"user_id": 1,
"nickname": "xx"
},
{
"user_id": 2,
"nickname": "xx"
}
]
```

Contributor guide

Open the contributing guide

Research direction

The issue names ctx.register_json and NdJson but no source file or test. Start by locating the implementation and existing NdJson registration path, then define coverage for standard JSON arrays; done means a standard JSON array can be registered and used through ctx.register_json.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.