ydb-platform / ydb-platform/ydb-sqlalchemy

Allow get query as string for dbapi curson execute method

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dbapi enhancement good first issue
Dominant language
Python
Stars
40
Forks
13
Avg merge
2d 6h
Merged PRs (30d)
3

Description

https://github.com/ydb-platform/ydb-sqlalchemy/blob/48cc1c2e53a9c23be6dc371177dda644a6447b00/ydb_sqlalchemy/dbapi/cursor.py#L117

Now it can work with some additional mark for ddl queries and it should work fine after switch the dbapi to ydb query service.

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 in ydb_sqlalchemy/dbapi/cursor.py at line 117 and inspect how the cursor's execute method currently handles queries. Confirm the expected DB-API behavior for accepting a query string, including the DDL case described in the issue, and verify that the resulting behavior works with the planned query-service switch.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.