Support ReadRows method in the TableClient - #898
Merged
vgvoleg merged 3 commits intoSep 14, 2026
Merged
Conversation
Expose the TableService ReadRows RPC on sync and async TableClient, mirroring bulk_upsert: a session-less unary call that takes key structures and optional column names and returns a ResultSet. Co-authored-by: Maksim Zinal <zinal@ydb.tech>
BaseTableClient is shared by the async client, so the driver call may return a coroutine. Annotate the result as Any, matching bulk_upsert. Co-authored-by: Maksim Zinal <zinal@ydb.tech>
The async path was already mocked through driver.future; add the same coverage for the unary __call__ used by the synchronous client. Co-authored-by: Maksim Zinal <zinal@ydb.tech>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #898 +/- ##
==========================================
+ Coverage 82.59% 82.61% +0.01%
==========================================
Files 99 99
Lines 12921 12939 +18
Branches 1267 1268 +1
==========================================
+ Hits 10672 10689 +17
- Misses 1798 1799 +1
Partials 451 451
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
1 task done
vgvoleg
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Currently YDB Python SDK does not support the TableClient.ReadRows call
Issue Number: N/A
What is the new behavior?
This PR adds support for TableClient.ReadRows call, as well as the related tests.
Other information