apache / apache/datafusion

Enable tab completion in datafusion-cli

Open
#2,652 2 comments 0 reactions 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? Please describe what you are trying to do.**

It would be convenient if SQL keywords (and perhaps also table names, column names, etc.) were auto-completed when hitting tab within datafusion-cli, with optional formatting to upper or lowercase depending on the user's preference.

**Describe the solution you'd like**

Implement tab completion for SQL keywords.

**Describe alternatives you've considered**

None

**Additional context**

None

Contributor guide

Open the contributing guide

Research direction

Start by locating the datafusion-cli input-handling and line-editing entry points, then determine how SQL keywords are represented and how completion results can be formatted. Done means tab completion works for SQL keywords in datafusion-cli, with the requested case preference if that behavior is retained.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.