tarantool / tarantool/tarantool

sql: parser should only parse (PRAGMA, SET)

Open
#4,621 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug sql
Dominant language
Lua
Stars
3.7k
Forks
419
Avg merge
1d 23h
Merged PRs (30d)
88

Description

PRAGMA and SET work during compile time. The only thing made by VDBE is metadata. It should not be so. Parser should never change DBMS state. PRAGMA and SET should work at runtime.

Contributor guide

Open the contributing guide

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 by tracing the SQL parser and VDBE handling for PRAGMA and SET. Determine how compile-time DBMS state changes and metadata creation should be separated from runtime execution, then verify that parsing alone no longer changes DBMS state.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.