ydb-python-sdk
ydb-python-sdk copied to clipboard
YDB Python SDK
# Feature Request **Describe the Feature Request** ``` SELECT AsTagged(5.0,"G"); ``` For implementation need: 1. Add TaggedType to https://github.com/ydb-platform/ydb-python-sdk/blob/29e603e9440ea3c8b359a8dff8cd6c0aac82f3d4/ydb/types.py 2. Add test for send and read values of tagged type...
# Feature Request **Describe the Feature Request** Sometime customer need encoded message without decoding them (for example when reshard messages). Need option for reader to skip the uncompress step. A...
# Feature Request **Describe the Feature Request** Now the SDK always compress messages internally. It is bad when we have already encoded messages or want compress messages outside of SDK....
# Bug Report **YDB Python SDK version:** 3.5.1 https://github.com/ydb-platform/ydb-python-sdk/blob/6177adb6bf5cfa10c1b67311b4d8c67a02a94117/ydb/_topic_reader/topic_reader_sync.py#L89-L96 Example of calc size for a message: https://github.com/ydb-platform/ydb-python-sdk/blob/8177d7f200f9f7b9f773fa11b3d574f0ef3d77a8/ydb/_topic_writer/topic_writer.py#L252-L259
Merge batches for one partitions in reader. For example - if server send batches every with one messages and client get messages rare - return all messages from one partition...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en ## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix -...
Add optional dependencies for ZSTD and LZOP codecs, with runtime detection.
# Feature Request Метод session.describe_table возвращает в том числе объекты, описывающие индексы таблицы - TableIndex. Этот объект не содержит информации о типе индекса (синхронный или асинхронный), хотя эта информация есть...
Used in [trace.py](https://github.com/ydb-platform/ydb-python-sdk/blob/32e778474ff5a0ca24ebc27fc1a974da8d76f616/ydb/tracing.py#L95-L95). Then add type hints to trace.py
Relevant code: https://github.com/ydb-platform/ydb-python-sdk/blob/6c745e1d6a2329bc77577729973f4d04a09112a6/ydb/topic.py#L103 Need the method in sync and async versions. Protospecs: https://github.com/ydb-platform/ydb-api-protos/blob/acd5735ee7c851a330ad69d085c7e7f558b12f08/ydb_topic_v1.proto#L82 https://github.com/ydb-platform/ydb-api-protos/blob/acd5735ee7c851a330ad69d085c7e7f558b12f08/protos/ydb_topic.proto#L902