apache / apache/datafusion

The config values aren't checked

Open
#17,498 19 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

```
> set datafusion.explain.format = indnet;
0 row(s) fetched.
Elapsed 0.002 seconds.

> set datafusion.explain.format = indent;
0 row(s) fetched.
Elapsed 0.002 seconds.
```

The `indnet` doesn't belong to `format`, obviously, it's a wrong value. But I didn't get any hints for it.

---
It'll be great UX if we can give some hints for the wrong config values.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the SQL `SET datafusion.explain.format` command parses and stores configuration values, using the `indnet` and `indent` examples as the reproduction. Identify the existing configuration tests or command entry point and verify that valid values continue to work while an invalid value produces a useful hint or error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.