@@ -70,6 +70,7 @@ struct TTotalStatistics {
70
70
TAggregate ResultBytes;
71
71
TAggregate ResultRows;
72
72
TAggregate IngressBytes;
73
+ TAggregate IngressDecompressedBytes;
73
74
TAggregate IngressRows;
74
75
TAggregate EgressBytes;
75
76
TAggregate EgressRows;
@@ -288,6 +289,8 @@ void WriteNamedNode(NYson::TYsonWriter& writer, NJson::TJsonValue& node, const T
288
289
totals.ResultRows .Add (*sum);
289
290
} else if (name == " IngressBytes" ) {
290
291
totals.IngressBytes .Add (*sum);
292
+ } else if (name == " IngressDecompressedBytes" ) {
293
+ totals.IngressDecompressedBytes .Add (*sum);
291
294
} else if (name == " IngressRows" ) {
292
295
totals.IngressRows .Add (*sum);
293
296
} else if (name == " EgressBytes" ) {
@@ -457,6 +460,7 @@ TString GetV1StatFromV2Plan(const TString& plan, double* cpuUsage) {
457
460
totals.ResultBytes .Write (writer, " ResultBytes" );
458
461
totals.ResultRows .Write (writer, " ResultRows" );
459
462
totals.IngressBytes .Write (writer, " IngressBytes" );
463
+ totals.IngressDecompressedBytes .Write (writer, " IngressDecompressedBytes" );
460
464
totals.IngressRows .Write (writer, " IngressRows" );
461
465
totals.EgressBytes .Write (writer, " EgressBytes" );
462
466
totals.EgressRows .Write (writer, " EgressRows" );
@@ -504,6 +508,11 @@ struct TStatsAggregator {
504
508
Aggregates[source + " .Bytes" ] += ingress->GetIntegerSafe ();
505
509
success = true ;
506
510
}
511
+ if (auto ingress = node.GetValueByPath (" Ingress.DecompressedBytes.Sum" )) {
512
+ auto source = name.substr (prefix.size ());
513
+ Aggregates[source + " .DecompressedBytes" ] += ingress->GetIntegerSafe ();
514
+ success = true ;
515
+ }
507
516
if (auto ingress = node.GetValueByPath (" Ingress.Rows.Sum" )) {
508
517
auto source = name.substr (prefix.size ());
509
518
Aggregates[source + " .Rows" ] += ingress->GetIntegerSafe ();
@@ -519,6 +528,7 @@ struct TStatsAggregator {
519
528
520
529
THashMap<TString, i64 > Aggregates{std::pair<TString, i64 >
521
530
{" IngressBytes" , 0 },
531
+ {" IngressDecompressedBytes" , 0 },
522
532
{" EgressBytes" , 0 },
523
533
{" IngressRows" , 0 },
524
534
{" EgressRows" , 0 },
@@ -959,6 +969,7 @@ TString GetPrettyStatistics(const TString& statistics) {
959
969
RemapNode (writer, p.second , " TaskRunner.Stage=Total.Tasks" , " Tasks" );
960
970
RemapNode (writer, p.second , " TaskRunner.Stage=Total.CpuTimeUs" , " CpuTimeUs" );
961
971
RemapNode (writer, p.second , " TaskRunner.Stage=Total.IngressBytes" , " IngressBytes" );
972
+ RemapNode (writer, p.second , " TaskRunner.Stage=Total.DecompressedBytes" , " DecompressedBytes" );
962
973
RemapNode (writer, p.second , " TaskRunner.Stage=Total.IngressRows" , " IngressRows" );
963
974
RemapNode (writer, p.second , " TaskRunner.Stage=Total.InputBytes" , " InputBytes" );
964
975
RemapNode (writer, p.second , " TaskRunner.Stage=Total.InputRows" , " InputRows" );
@@ -979,6 +990,7 @@ TString GetPrettyStatistics(const TString& statistics) {
979
990
RemapNode (writer, p.second , " Tasks" , " Tasks" );
980
991
RemapNode (writer, p.second , " CpuTimeUs" , " CpuTimeUs" );
981
992
RemapNode (writer, p.second , " IngressBytes" , " IngressBytes" );
993
+ RemapNode (writer, p.second , " IngressDecompressedBytes" , " IngressDecompressedBytes" );
982
994
RemapNode (writer, p.second , " IngressRows" , " IngressRows" );
983
995
RemapNode (writer, p.second , " InputBytes" , " InputBytes" );
984
996
RemapNode (writer, p.second , " InputRows" , " InputRows" );
0 commit comments