apache / apache/datafusion-sqlparser-rs

alter view

Open
#676 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
772
Avg merge
4d 9h
Merged PRs (30d)
17

Description

the following valid sql statement doesn't work:

```
alter view someview as select b, c from sometable;
```

I get this error:

```
ound error: sql parser error: Expected TABLE, found: view
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported ALTER VIEW statement and tracing where ALTER statements are parsed, using the parser error as the entry point. Add coverage for this valid statement and confirm that it parses successfully without regressing existing ALTER TABLE handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
compilers, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.