Skip to content

YQ-2630: fix and support detalization for v1 #1016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

EgorkaZ
Copy link
Contributor

@EgorkaZ EgorkaZ commented Jan 15, 2024

No description provided.

@EgorkaZ EgorkaZ requested review from dorooleg and Hor911 January 15, 2024 16:17
Copy link

github-actions bot commented Jan 15, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-release-asan: some tests FAILED for commit da0a6a6.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15882 15742 0 25 101 14

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit da0a6a6.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59897 50671 0 2 9207 17

@@ -304,10 +304,10 @@ TString GetPrettyStatistics(const TString& statistics) {

namespace {

const NJson::TJsonValue* GetStatisticsRoot(const NJson::TJsonValue& allStatistics) {
const NJson::TJsonValue* GetStatisticsRoot(const NJson::TJsonValue& allStatistics, std::string_view v1Pointer = "Graph=0") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Both kind of statistics may include multiple graphs. To get correct stats it is needed to enumerate all of them and summarize total value

v1 graph will have root with name starting from

  • Graph=
  • Precompute=

v2 graph will have root with name starting from

  • ResultSet
  • Precompute
  • Sink

v2 names may have no suffixes or suffixes like "_0", so Precompute can be distinguished from v1 by "=" symbol

@EgorkaZ EgorkaZ merged commit fa1e847 into ydb-platform:main Jan 18, 2024
dorooleg pushed a commit to dorooleg/ydb that referenced this pull request Jan 18, 2024
* also support multiple graphs, move test data to resources
EgorkaZ added a commit to EgorkaZ/ydb that referenced this pull request Jan 19, 2024
* also support multiple graphs, move test data to resources
EgorkaZ added a commit that referenced this pull request Jan 19, 2024
* also support multiple graphs, move test data to resources
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
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