tarantool / tarantool/tarantool-python

sql: support prepared statements

Open
#199 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

5sp feature sql
Dominant language
Python
Stars
108
Forks
51
Avg merge
1d 8h
Merged PRs (30d)
1

Description

First, it allows to collect information about data types in a response without actual execution (and also get parsed info re input parameters). Second, it allows to don't resend SQL request text each time, just new input parameters.

Documentation: https://github.com/tarantool/doc/issues/1055 and https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/.

The database API part is here: #176.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Tarantool box protocol documentation and the database API work in issue #176. Determine the prepared-statement request and response behavior, including parameter and type information, before locating the corresponding Python client entry points. Done means the client supports preparing statements and reusing them with new input parameters.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.