ydb-platform / ydb-platform/ydb-python-sdk

bug: ydb.TableDescription doesn't support column tables

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

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
102
Forks
75
Avg merge
1d 23h
Merged PRs (30d)
13

Description

Bug Report

There is no way to create table with WITH (STORE=COLUMN); option via ydb.TableDescription

see sdk code
https://github.com/ydb-platform/ydb/blob/ec094862c2bd704e1273557aaaad9a5619d31281/contrib/python/ydb/py3/ydb/table.py#L685

see usage example:
https://github.com/ydb-platform/ydb/blob/ec094862c2bd704e1273557aaaad9a5619d31281/ydb/tools/simple_queue/__main__.py#L85

YDB Python SDK version:

main

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

Read contrib/python/ydb/py3/ydb/table.py around line 685 to understand how TableDescription represents table options, then compare it with the usage in ydb/tools/simple_queue/main.py around line 85. Done means column tables can be created through ydb.TableDescription with the STORE=COLUMN option.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.