apache / apache/datafusion

How to support deletes?

Open
#12,406 6 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?

`delete from foo where id = 1;`

currently gives me

`Unsupported logical plan: Dml(Delete).`

is support for it missing currently? I don't see a corresponding method in the table provider either?

### Describe the solution you'd like

delete statements should work

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing where the logical plan reports `Dml(Delete)` as unsupported and inspect the table provider API mentioned in the issue. Define the required delete behavior and verify that `delete from foo where id = 1;` executes successfully with appropriate tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.