-
Notifications
You must be signed in to change notification settings - Fork 638
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
Conversation
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-release-asan: some tests FAILED for commit da0a6a6.
🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit da0a6a6.
|
@@ -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") { |
There was a problem hiding this comment.
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
* also support multiple graphs, move test data to resources
* also support multiple graphs, move test data to resources
No description provided.