apache / apache/datafusion-sqlparser-rs
Add convenience method for parsing simple SELECT
Open
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 772
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 17
Description
It would be nice to have a `parse_select` method that returns `SQLSelect` struct rather than have to deal with `SQLQuery` and `SQLSetExpr` for simple use cases.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing parsing entry points and the definitions of SQLSelect, SQLQuery, and SQLSetExpr. Confirm how simple SELECT statements are currently represented, then add coverage showing that parse_select returns SQLSelect for those cases; done means the convenience API works without callers handling SQLQuery and SQLSetExpr.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100