datafusion-contrib / datafusion-contrib/datafusion-postgres
Add support for PREPARE and EXECUTE statement for simple query
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 160
- Forks
- 44
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 14
Description
Postgres has a text form of parse-bind-execute query like:
-- parse the statement
PREPARE myplan(type) AS SELECT $1;
-- create portal and execute the statement
EXECUTE myplan(1);
-- remove the statement
DEALLOCATE myplan;
This will allow us to debug extended query, statement binding easier with psql client.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the simple-query handling and comparing it with the existing extended-query statement binding path. Use the PREPARE, EXECUTE, and DEALLOCATE sequence from the issue with psql; done means those statements work for the shown parameterized query and make extended-query debugging possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, rust
- Domain
- backend-api-design, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100