Skip to content

Expose streaming queries in scheme listings - #941

Merged
vgvoleg merged 1 commit into
ydb-platform:mainfrom
martinevsky:streaming-query-scheme-entry
Nov 9, 2026
Merged

vgvoleg merged 1 commit into
ydb-platform:mainfrom
martinevsky:streaming-query-scheme-entry

Conversation

@martinevsky

@martinevsky martinevsky commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Pull request type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Directory listings silently omit streaming queries because their public scheme entry type is missing from the SDK enum. Describing one maps its type to TYPE_UNSPECIFIED.

Issue Number: N/A

What is the new behavior?

Expose STREAMING_QUERY using the existing scheme protocol value, and add predicates for scheme entries. The shared response wrappers now retain streaming queries in directory listings and recognize them in path descriptions. Other unknown types retain their existing handling.

Other information

Not for changelog. The SDK's own changelog is updated as required by its repository instructions.

Validation:

  • tox -e py -- ydb -v: 266 passed.
  • tox -e black,style,mypy: passed.
  • sphinx-build -b html docs docs/_build/html -q: passed with the existing language = None warning.

This SDK change is an inventory prerequisite; it does not implement database replication. No live-server or rolling upgrade/downgrade scenario was run.

Copilot AI balanced review requested due to automatic review settings November 9, 2026 09:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.70%. Comparing base (5f54777) to head (eb10cc7).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #941   +/-   ##
=======================================
  Coverage   82.69%   82.70%           
=======================================
  Files          99       99           
  Lines       12954    12960    +6     
  Branches     1266     1266           
=======================================
+ Hits        10712    10718    +6     
  Misses       1790     1790           
  Partials      452      452           
Flag Coverage Δ
integration 80.39% <66.66%> (+<0.01%) ⬆️
unit 49.34% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
ydb/scheme.py 86.72% <100.00%> (+1.19%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues, and the change includes focused implementation updates and coverage for streaming-query scheme behavior.

No open issues 🎉

Review effort: Lite

@vgvoleg
vgvoleg merged commit d2057f9 into ydb-platform:main Nov 9, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants