ydb-platform / ydb-platform/ydb-sqlalchemy

SQLAlchemy for YDB

Open
#2 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Roadmap:

  • #5
  • dbapi:
    • OLTP (use execute instead of scan_query)
    • support yql statements with parameters (declare generation)
    • tests
    • #15
    • support transactions: commit/rollback/tx_mode
  • support ddl statements (create/drop table)
  • support dml:
    • select:
      • where/filter
      • #6
      • distinct
      • view (support index)
      • join
      • group by
      • limit/offset
      • support scan query
    • insert
      • simple insert (one row insert)
      • inserts multiple rows - generate unify query (as an option use List<Struct<..>> with as_table)
    • update
    • delete
    • upsert
    • replace
  • types:
    • Bool
    • Integer/Int64
    • Int8, Int32
    • Uint8, Uint32, Uint64
    • Double
    • #12
    • #13
    • Utf8
    • Uuid as Utf8
    • Json, JsonDocument
    • Yson
    • Timestamp
    • #7
    • Date
    • List
    • Set
    • Tuple
    • Dict
    • Struct
    • Enum
    • #9
  • support transactions commit/rollback/mode
  • support sqlalchemy v2 (https://docs.sqlalchemy.org/en/20/)
  • asyncio support (https://docs.sqlalchemy.org/en/20/orm/extensions/asyncio.html)
  • benchmarks (native driver vs sqlalchemy)
  • demo application
  • slo
  • #11
  • #14

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 by reviewing the unchecked roadmap items in the issue and the linked SQLAlchemy 2.0 asyncio documentation. The roadmap spans transactions, query features, types, async support, benchmarks, and demos, with no files or tests identified. Done is not defined for the overall issue; a contributor would need to select and scope one item first.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlalchemy
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.