Skip to content

Conversation

@BardinPetr
Copy link
Contributor

@BardinPetr BardinPetr commented Nov 17, 2025

Предлагается предоставить дополнительные возможности прикладным программистам встраиваться в процесс исполнения запросов.

Список изменений:

  • Java SPI для перехвата исполнения data-запросов (точки до и после отправки запроса в YdbStatementBase.executeDataQuery)
  • Возможность установить уровень сбора статистики перед запросом через поле в Statement
  • Сохранение статистики, возвращенной с результатом data-запроса в YdbQueryResult

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 17.85714% with 92 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.26%. Comparing base (555e9d9) to head (6cc21d0).

Files with missing lines Patch % Lines
...in/java/tech/ydb/jdbc/query/UnifiedQueryStats.java 0.00% 79 Missing ⚠️
...main/java/tech/ydb/jdbc/impl/YdbStatementBase.java 45.45% 4 Missing and 2 partials ⚠️
.../java/tech/ydb/jdbc/impl/YdbQueryResultStatic.java 28.57% 3 Missing and 2 partials ⚠️
...rc/main/java/tech/ydb/jdbc/context/YdbContext.java 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #146      +/-   ##
============================================
- Coverage     81.32%   80.26%   -1.07%     
- Complexity     2494     2498       +4     
============================================
  Files            74       75       +1     
  Lines          6711     6820     +109     
  Branches        862      865       +3     
============================================
+ Hits           5458     5474      +16     
- Misses          876      963      +87     
- Partials        377      383       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@alex268 alex268 merged commit 08ff4ab into ydb-platform:master Nov 25, 2025
9 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