apache / apache/datafusion-sqlparser-rs

VisitorMut add Expr

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

Description

My intuition tells me that the VisitorMut walker should be able to add expressions to WHERE or init the selection Option to Some Expr in Statement::Query body::Select. Is there a quick example of this or is the VisitorMut capable of only traversing the AST nodes if they exist?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the VisitorMut walker and the Statement::Query body::Select entry points mentioned in the issue. Determine whether mutation currently only visits existing AST nodes or can add a WHERE expression and initialize the selection Option. Done should include a decided behavior and coverage for the requested mutation, though no test file is named.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.