apache / apache/datafusion

Query fails when using `select *`, followed/prefixed with explicit projections

Open
#13,476 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Describe the bug

When doing interactive data exploration with wide tables/views with moderately expensive queries, it's very useful to run queries like

```
SELECT

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by reproducing the DataFusion SQL query, then trace the projection-planning entry point and find existing tests for wildcard projections. Done means SELECT registration_time, id, * FROM users succeeds while preserving the explicit columns first and including the remaining columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.