{
    "Plan" : {
        "Plans" : [
            {
                "PlanNodeId" : 8,
                "Plans" : [
                    {
                        "PlanNodeId" : 7,
                        "Plans" : [
                            {
                                "PlanNodeId" : 6,
                                "Plans" : [
                                    {
                                        "PlanNodeId" : 5,
                                        "Plans" : [
                                            {
                                                "PlanNodeId" : 4,
                                                "Plans" : [
                                                    {
                                                        "PlanNodeId" : 3,
                                                        "Plans" : [
                                                            {
                                                                "PlanNodeId" : 2,
                                                                "Plans" : [
                                                                    {
                                                                        "Tables" : [
                                                                            "olap_yatests/clickbench/hits"
                                                                        ],
                                                                        "PlanNodeId" : 1,
                                                                        "Operators" : [
                                                                            {
                                                                                "Inputs" : [
                                                                                    {
                                                                                        "InternalOperatorId" : 1
                                                                                    }
                                                                                ],
                                                                                "GroupBy" : "[item.MobilePhoneModel,item.UserID]",
                                                                                "Aggregation" : "state",
                                                                                "Name" : "Aggregate",
                                                                                "Phase" : "Intermediate"
                                                                            },
                                                                            {
                                                                                "Inputs" : [
                                                                                    {
                                                                                        "InternalOperatorId" : 2
                                                                                    }
                                                                                ],
                                                                                "E-Rows" : "0",
                                                                                "Predicate" : "MobilePhoneModel != \"\"",
                                                                                "Pushdown" : "True",
                                                                                "Name" : "Filter",
                                                                                "E-Size" : "0",
                                                                                "E-Cost" : "0"
                                                                            },
                                                                            {
                                                                                "Scan" : "Parallel",
                                                                                "E-Size" : "0",
                                                                                "ReadRanges" : [
                                                                                    "CounterID (-∞, +∞)",
                                                                                    "EventDate (-∞, +∞)",
                                                                                    "UserID (-∞, +∞)",
                                                                                    "EventTime (-∞, +∞)",
                                                                                    "WatchID (-∞, +∞)"
                                                                                ],
                                                                                "Name" : "TableFullScan",
                                                                                "Inputs" : [ ],
                                                                                "Path" : "/local/test_db/olap_yatests/clickbench/hits",
                                                                                "E-Rows" : "0",
                                                                                "Table" : "olap_yatests/clickbench/hits",
                                                                                "ReadColumns" : [
                                                                                    "MobilePhoneModel",
                                                                                    "UserID"
                                                                                ],
                                                                                "SsaProgram" : {
                                                                                    "Version" : 5,
                                                                                    "Command" : [
                                                                                        {
                                                                                            "Assign" : {
                                                                                                "Constant" : {
                                                                                                    "Bytes" : ""
                                                                                                },
                                                                                                "Column" : {
                                                                                                    "Id" : 106
                                                                                                }
                                                                                            }
                                                                                        },
                                                                                        {
                                                                                            "Assign" : {
                                                                                                "Function" : {
                                                                                                    "YqlOperationId" : 12,
                                                                                                    "KernelIdx" : 0,
                                                                                                    "FunctionType" : 2,
                                                                                                    "Arguments" : [
                                                                                                        {
                                                                                                            "Id" : 35
                                                                                                        },
                                                                                                        {
                                                                                                            "Id" : 106
                                                                                                        }
                                                                                                    ]
                                                                                                },
                                                                                                "Column" : {
                                                                                                    "Id" : 107
                                                                                                }
                                                                                            }
                                                                                        },
                                                                                        {
                                                                                            "Filter" : {
                                                                                                "Predicate" : {
                                                                                                    "Id" : 107
                                                                                                }
                                                                                            }
                                                                                        },
                                                                                        {
                                                                                            "Projection" : {
                                                                                                "Columns" : [
                                                                                                    {
                                                                                                        "Id" : 35
                                                                                                    },
                                                                                                    {
                                                                                                        "Id" : 10
                                                                                                    }
                                                                                                ]
                                                                                            }
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "E-Cost" : "0"
                                                                            }
                                                                        ],
                                                                        "Node Type" : "Aggregate-Filter-TableFullScan",
                                                                        "Stats" : {
                                                                            "Operator" : [
                                                                                {
                                                                                    "Id" : "0",
                                                                                    "Rows" : {
                                                                                        "Count" : 3,
                                                                                        "Sum" : 433,
                                                                                        "Max" : 156,
                                                                                        "Min" : 136
                                                                                    },
                                                                                    "Type" : "Aggregation"
                                                                                }
                                                                            ],
                                                                            "UseLlvm" : "undefined",
                                                                            "Output" : [
                                                                                {
                                                                                    "Pop" : {
                                                                                        "Chunks" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 6,
                                                                                            "Max" : 2,
                                                                                            "Min" : 2
                                                                                        },
                                                                                        "Rows" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 433,
                                                                                            "Max" : 156,
                                                                                            "Min" : 136
                                                                                        },
                                                                                        "LastMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3818,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1272
                                                                                        },
                                                                                        "ActiveMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1272
                                                                                        },
                                                                                        "FirstMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3818,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1272
                                                                                        },
                                                                                        "Bytes" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 6206,
                                                                                            "Max" : 2230,
                                                                                            "Min" : 1949
                                                                                        }
                                                                                    },
                                                                                    "Name" : "3",
                                                                                    "Push" : {
                                                                                        "Rows" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 433,
                                                                                            "Max" : 156,
                                                                                            "Min" : 136
                                                                                        },
                                                                                        "LastMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3818,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1272
                                                                                        },
                                                                                        "Chunks" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 433,
                                                                                            "Max" : 156,
                                                                                            "Min" : 136
                                                                                        },
                                                                                        "ResumeMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3817,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1272
                                                                                        },
                                                                                        "FirstMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3816,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1271
                                                                                        },
                                                                                        "ActiveMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1271
                                                                                        },
                                                                                        "PauseMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3801,
                                                                                            "Max" : 1271,
                                                                                            "Min" : 1260
                                                                                        },
                                                                                        "ActiveTimeUs" : {
                                                                                            "Count" : 2,
                                                                                            "Sum" : 2000,
                                                                                            "Max" : 1000,
                                                                                            "Min" : 1000
                                                                                        },
                                                                                        "WaitTimeUs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3741947,
                                                                                            "Max" : 1255071,
                                                                                            "Min" : 1243282
                                                                                        },
                                                                                        "WaitPeriods" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 6,
                                                                                            "Max" : 2,
                                                                                            "Min" : 2
                                                                                        },
                                                                                        "WaitMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Max" : 1273,
                                                                                            "Min" : 1260
                                                                                        }
                                                                                    }
                                                                                }
                                                                            ],
                                                                            "MaxMemoryUsage" : {
                                                                                "Count" : 3,
                                                                                "Sum" : 3342336,
                                                                                "Max" : 1114112,
                                                                                "Min" : 1114112
                                                                            },
                                                                            "IngressBytes" : {
                                                                                "Count" : 3,
                                                                                "Sum" : 53949,
                                                                                "Max" : 22692,
                                                                                "Min" : 14786
                                                                            },
                                                                            "Tasks" : 3,
                                                                            "OutputRows" : {
                                                                                "Count" : 3,
                                                                                "Sum" : 433,
                                                                                "Max" : 156,
                                                                                "Min" : 136
                                                                            },
                                                                            "FinishedTasks" : 3,
                                                                            "IngressRows" : {
                                                                                "Count" : 3,
                                                                                "Sum" : 2193,
                                                                                "Max" : 923,
                                                                                "Min" : 600
                                                                            },
                                                                            "PhysicalStageId" : 0,
                                                                            "StageDurationUs" : 0,
                                                                            "Table" : [
                                                                                {
                                                                                    "Path" : "/local/test_db/olap_yatests/clickbench/hits",
                                                                                    "ReadRows" : {
                                                                                        "Count" : 3,
                                                                                        "Sum" : 2193,
                                                                                        "Max" : 923,
                                                                                        "Min" : 600
                                                                                    },
                                                                                    "ReadBytes" : {
                                                                                        "Count" : 3,
                                                                                        "Sum" : 53949,
                                                                                        "Max" : 22692,
                                                                                        "Min" : 14786
                                                                                    }
                                                                                }
                                                                            ],
                                                                            "BaseTimeMs" : 1765530672625,
                                                                            "OutputBytes" : {
                                                                                "Count" : 3,
                                                                                "Sum" : 6206,
                                                                                "Max" : 2230,
                                                                                "Min" : 1949
                                                                            },
                                                                            "CpuTimeUs" : {
                                                                                "Count" : 3,
                                                                                "Sum" : 83968,
                                                                                "Max" : 39046,
                                                                                "Min" : 19697
                                                                            },
                                                                            "Ingress" : [
                                                                                {
                                                                                    "Pop" : { },
                                                                                    "External" : {
                                                                                        "PartitionCount" : 128,
                                                                                        "LastMessageMs" : {
                                                                                            "Count" : 128,
                                                                                            "Sum" : 91752,
                                                                                            "Max" : 1270,
                                                                                            "Min" : 91
                                                                                        },
                                                                                        "ExternalRows" : {
                                                                                            "Count" : 128,
                                                                                            "Sum" : 2193,
                                                                                            "Max" : 28,
                                                                                            "Min" : 7
                                                                                        },
                                                                                        "ExternalBytes" : {
                                                                                            "Count" : 128,
                                                                                            "Sum" : 53949,
                                                                                            "Max" : 694,
                                                                                            "Min" : 172
                                                                                        },
                                                                                        "FirstMessageMs" : {
                                                                                            "Count" : 128,
                                                                                            "Sum" : 89419,
                                                                                            "Max" : 1259,
                                                                                            "Min" : 80
                                                                                        }
                                                                                    },
                                                                                    "Name" : "CS",
                                                                                    "Ingress" : {
                                                                                        "Rows" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 2193,
                                                                                            "Max" : 923,
                                                                                            "Min" : 600
                                                                                        },
                                                                                        "LastMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3800,
                                                                                            "Max" : 1270,
                                                                                            "Min" : 1260
                                                                                        },
                                                                                        "ActiveMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Max" : 1270,
                                                                                            "Min" : 80
                                                                                        },
                                                                                        "FirstMessageMs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 290,
                                                                                            "Max" : 126,
                                                                                            "Min" : 80
                                                                                        },
                                                                                        "Bytes" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 53949,
                                                                                            "Max" : 22692,
                                                                                            "Min" : 14786
                                                                                        },
                                                                                        "ActiveTimeUs" : {
                                                                                            "Count" : 3,
                                                                                            "Sum" : 3510000,
                                                                                            "Max" : 1190000,
                                                                                            "Min" : 1134000
                                                                                        }
                                                                                    },
                                                                                    "Push" : { }
                                                                                }
                                                                            ],
                                                                            "UpdateTimeMs" : 1277
                                                                        }
                                                                    }
                                                                ],
                                                                "Node Type" : "HashShuffle",
                                                                "KeyColumns" : [
                                                                    "MobilePhoneModel",
                                                                    "UserID"
                                                                ],
                                                                "PlanNodeType" : "Connection"
                                                            }
                                                        ],
                                                        "Operators" : [
                                                            {
                                                                "Inputs" : [
                                                                    {
                                                                        "InternalOperatorId" : 1
                                                                    }
                                                                ],
                                                                "GroupBy" : "item.MobilePhoneModel",
                                                                "Aggregation" : "{Inc(state._yql_agg_0)}",
                                                                "Name" : "Aggregate",
                                                                "Phase" : "Intermediate"
                                                            },
                                                            {
                                                                "Inputs" : [
                                                                    {
                                                                        "ExternalPlanNodeId" : 2
                                                                    }
                                                                ],
                                                                "Name" : "Aggregate",
                                                                "Phase" : "Final"
                                                            }
                                                        ],
                                                        "Node Type" : "Aggregate-Aggregate",
                                                        "Stats" : {
                                                            "Operator" : [
                                                                {
                                                                    "Id" : "0",
                                                                    "Rows" : {
                                                                        "Count" : 2,
                                                                        "Sum" : 185,
                                                                        "Max" : 94,
                                                                        "Min" : 91
                                                                    },
                                                                    "Type" : "Aggregation"
                                                                }
                                                            ],
                                                            "UseLlvm" : "undefined",
                                                            "Output" : [
                                                                {
                                                                    "Pop" : {
                                                                        "Chunks" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 4,
                                                                            "Max" : 2,
                                                                            "Min" : 2
                                                                        },
                                                                        "Rows" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 9,
                                                                            "Max" : 5,
                                                                            "Min" : 4
                                                                        },
                                                                        "LastMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2549,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "ActiveMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "FirstMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2549,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "Bytes" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 102,
                                                                            "Max" : 59,
                                                                            "Min" : 43
                                                                        }
                                                                    },
                                                                    "Name" : "5",
                                                                    "Push" : {
                                                                        "LastMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2549,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "Rows" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 9,
                                                                            "Max" : 5,
                                                                            "Min" : 4
                                                                        },
                                                                        "Chunks" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 9,
                                                                            "Max" : 5,
                                                                            "Min" : 4
                                                                        },
                                                                        "ResumeMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2549,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "FirstMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2549,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "ActiveMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "PauseMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2282,
                                                                            "Max" : 1273,
                                                                            "Min" : 1009
                                                                        },
                                                                        "WaitTimeUs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2501646,
                                                                            "Max" : 1258535,
                                                                            "Min" : 1243111
                                                                        },
                                                                        "WaitPeriods" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 4,
                                                                            "Max" : 2,
                                                                            "Min" : 2
                                                                        },
                                                                        "WaitMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Max" : 1275,
                                                                            "Min" : 1009
                                                                        }
                                                                    }
                                                                }
                                                            ],
                                                            "MaxMemoryUsage" : {
                                                                "Count" : 2,
                                                                "Sum" : 4194304,
                                                                "Max" : 2097152,
                                                                "Min" : 2097152
                                                            },
                                                            "DurationUs" : {
                                                                "Count" : 2,
                                                                "Sum" : 11000,
                                                                "Max" : 6000,
                                                                "Min" : 5000
                                                            },
                                                            "InputBytes" : {
                                                                "Count" : 2,
                                                                "Sum" : 6206,
                                                                "Max" : 3293,
                                                                "Min" : 2913
                                                            },
                                                            "Tasks" : 2,
                                                            "OutputRows" : {
                                                                "Count" : 2,
                                                                "Sum" : 9,
                                                                "Max" : 5,
                                                                "Min" : 4
                                                            },
                                                            "FinishedTasks" : 2,
                                                            "InputRows" : {
                                                                "Count" : 2,
                                                                "Sum" : 433,
                                                                "Max" : 229,
                                                                "Min" : 204
                                                            },
                                                            "PhysicalStageId" : 1,
                                                            "StageDurationUs" : 6000,
                                                            "BaseTimeMs" : 1765530672625,
                                                            "OutputBytes" : {
                                                                "Count" : 2,
                                                                "Sum" : 102,
                                                                "Max" : 59,
                                                                "Min" : 43
                                                            },
                                                            "CpuTimeUs" : {
                                                                "Count" : 2,
                                                                "Sum" : 4058,
                                                                "Max" : 2062,
                                                                "Min" : 1996
                                                            },
                                                            "UpdateTimeMs" : 1279,
                                                            "Input" : [
                                                                {
                                                                    "Pop" : {
                                                                        "Chunks" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 6,
                                                                            "Max" : 3,
                                                                            "Min" : 3
                                                                        },
                                                                        "Rows" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 433,
                                                                            "Max" : 229,
                                                                            "Min" : 204
                                                                        },
                                                                        "LastMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2549,
                                                                            "Max" : 1275,
                                                                            "Min" : 1274
                                                                        },
                                                                        "ActiveMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Max" : 1275,
                                                                            "Min" : 1273
                                                                        },
                                                                        "FirstMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2547,
                                                                            "Max" : 1274,
                                                                            "Min" : 1273
                                                                        },
                                                                        "Bytes" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 6206,
                                                                            "Max" : 3293,
                                                                            "Min" : 2913
                                                                        },
                                                                        "ActiveTimeUs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2000,
                                                                            "Max" : 1000,
                                                                            "Min" : 1000
                                                                        }
                                                                    },
                                                                    "Name" : "1",
                                                                    "Push" : {
                                                                        "Rows" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 433,
                                                                            "Max" : 229,
                                                                            "Min" : 204
                                                                        },
                                                                        "LastMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2548,
                                                                            "Max" : 1274,
                                                                            "Min" : 1274
                                                                        },
                                                                        "Chunks" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 6,
                                                                            "Max" : 3,
                                                                            "Min" : 3
                                                                        },
                                                                        "ResumeMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2548,
                                                                            "Max" : 1274,
                                                                            "Min" : 1274
                                                                        },
                                                                        "FirstMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2547,
                                                                            "Max" : 1274,
                                                                            "Min" : 1273
                                                                        },
                                                                        "ActiveMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Max" : 1274,
                                                                            "Min" : 1273
                                                                        },
                                                                        "Bytes" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 6206,
                                                                            "Max" : 3293,
                                                                            "Min" : 2913
                                                                        },
                                                                        "PauseMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2018,
                                                                            "Max" : 1009,
                                                                            "Min" : 1009
                                                                        },
                                                                        "ActiveTimeUs" : {
                                                                            "Count" : 1,
                                                                            "Sum" : 1000,
                                                                            "Max" : 1000,
                                                                            "Min" : 1000
                                                                        },
                                                                        "WaitTimeUs" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 2533629,
                                                                            "Max" : 1267235,
                                                                            "Min" : 1266394
                                                                        },
                                                                        "WaitPeriods" : {
                                                                            "Count" : 2,
                                                                            "Sum" : 6,
                                                                            "Max" : 3,
                                                                            "Min" : 3
                                                                        },
                                                                        "WaitMessageMs" : {
                                                                            "Count" : 2,
                                                                            "Max" : 1274,
                                                                            "Min" : 1009
                                                                        }
                                                                    }
                                                                }
                                                            ]
                                                        }
                                                    }
                                                ],
                                                "Node Type" : "HashShuffle",
                                                "KeyColumns" : [
                                                    "MobilePhoneModel"
                                                ],
                                                "PlanNodeType" : "Connection"
                                            }
                                        ],
                                        "Operators" : [
                                            {
                                                "Inputs" : [
                                                    {
                                                        "InternalOperatorId" : 1
                                                    }
                                                ],
                                                "Name" : "TopSort",
                                                "Limit" : "10",
                                                "TopSortBy" : "argument.Count0"
                                            },
                                            {
                                                "Inputs" : [
                                                    {
                                                        "ExternalPlanNodeId" : 4
                                                    }
                                                ],
                                                "Name" : "Aggregate",
                                                "Phase" : "Final"
                                            }
                                        ],
                                        "Node Type" : "TopSort-Aggregate",
                                        "Stats" : {
                                            "Operator" : [
                                                {
                                                    "Id" : "0",
                                                    "Rows" : {
                                                        "Count" : 2,
                                                        "Sum" : 6,
                                                        "Max" : 4,
                                                        "Min" : 2
                                                    },
                                                    "Type" : "Aggregation"
                                                }
                                            ],
                                            "UseLlvm" : "undefined",
                                            "Output" : [
                                                {
                                                    "Pop" : {
                                                        "Chunks" : {
                                                            "Count" : 2,
                                                            "Sum" : 2,
                                                            "Max" : 1,
                                                            "Min" : 1
                                                        },
                                                        "Rows" : {
                                                            "Count" : 2,
                                                            "Sum" : 6,
                                                            "Max" : 4,
                                                            "Min" : 2
                                                        },
                                                        "LastMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2558,
                                                            "Max" : 1279,
                                                            "Min" : 1279
                                                        },
                                                        "FirstMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2558,
                                                            "Max" : 1279,
                                                            "Min" : 1279
                                                        },
                                                        "Bytes" : {
                                                            "Count" : 2,
                                                            "Sum" : 64,
                                                            "Max" : 41,
                                                            "Min" : 23
                                                        }
                                                    },
                                                    "Name" : "7",
                                                    "Push" : {
                                                        "LastMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2558,
                                                            "Max" : 1279,
                                                            "Min" : 1279
                                                        },
                                                        "Rows" : {
                                                            "Count" : 2,
                                                            "Sum" : 6,
                                                            "Max" : 4,
                                                            "Min" : 2
                                                        },
                                                        "Chunks" : {
                                                            "Count" : 2,
                                                            "Sum" : 6,
                                                            "Max" : 4,
                                                            "Min" : 2
                                                        },
                                                        "ResumeMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2558,
                                                            "Max" : 1279,
                                                            "Min" : 1279
                                                        },
                                                        "FirstMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2558,
                                                            "Max" : 1279,
                                                            "Min" : 1279
                                                        },
                                                        "PauseMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2020,
                                                            "Max" : 1010,
                                                            "Min" : 1010
                                                        },
                                                        "WaitTimeUs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2507423,
                                                            "Max" : 1262222,
                                                            "Min" : 1245201
                                                        },
                                                        "WaitPeriods" : {
                                                            "Count" : 2,
                                                            "Sum" : 2,
                                                            "Max" : 1,
                                                            "Min" : 1
                                                        },
                                                        "WaitMessageMs" : {
                                                            "Count" : 2,
                                                            "Max" : 1279,
                                                            "Min" : 1010
                                                        }
                                                    }
                                                }
                                            ],
                                            "MaxMemoryUsage" : {
                                                "Count" : 2,
                                                "Sum" : 4194304,
                                                "Max" : 2097152,
                                                "Min" : 2097152
                                            },
                                            "DurationUs" : {
                                                "Count" : 2,
                                                "Sum" : 4000,
                                                "Max" : 2000,
                                                "Min" : 2000
                                            },
                                            "InputBytes" : {
                                                "Count" : 2,
                                                "Sum" : 102,
                                                "Max" : 72,
                                                "Min" : 30
                                            },
                                            "Tasks" : 2,
                                            "OutputRows" : {
                                                "Count" : 2,
                                                "Sum" : 6,
                                                "Max" : 4,
                                                "Min" : 2
                                            },
                                            "FinishedTasks" : 2,
                                            "InputRows" : {
                                                "Count" : 2,
                                                "Sum" : 9,
                                                "Max" : 7,
                                                "Min" : 2
                                            },
                                            "PhysicalStageId" : 2,
                                            "StageDurationUs" : 2000,
                                            "BaseTimeMs" : 1765530672625,
                                            "OutputBytes" : {
                                                "Count" : 2,
                                                "Sum" : 64,
                                                "Max" : 41,
                                                "Min" : 23
                                            },
                                            "CpuTimeUs" : {
                                                "Count" : 2,
                                                "Sum" : 2236,
                                                "Max" : 1131,
                                                "Min" : 1105
                                            },
                                            "UpdateTimeMs" : 1280,
                                            "Input" : [
                                                {
                                                    "Pop" : {
                                                        "Chunks" : {
                                                            "Count" : 2,
                                                            "Sum" : 4,
                                                            "Max" : 2,
                                                            "Min" : 2
                                                        },
                                                        "Rows" : {
                                                            "Count" : 2,
                                                            "Sum" : 9,
                                                            "Max" : 7,
                                                            "Min" : 2
                                                        },
                                                        "LastMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2558,
                                                            "Max" : 1279,
                                                            "Min" : 1279
                                                        },
                                                        "ActiveMessageMs" : {
                                                            "Count" : 2,
                                                            "Max" : 1279,
                                                            "Min" : 1278
                                                        },
                                                        "FirstMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2557,
                                                            "Max" : 1279,
                                                            "Min" : 1278
                                                        },
                                                        "Bytes" : {
                                                            "Count" : 2,
                                                            "Sum" : 102,
                                                            "Max" : 72,
                                                            "Min" : 30
                                                        },
                                                        "ActiveTimeUs" : {
                                                            "Count" : 1,
                                                            "Sum" : 1000,
                                                            "Max" : 1000,
                                                            "Min" : 1000
                                                        }
                                                    },
                                                    "Name" : "3",
                                                    "Push" : {
                                                        "Rows" : {
                                                            "Count" : 2,
                                                            "Sum" : 9,
                                                            "Max" : 7,
                                                            "Min" : 2
                                                        },
                                                        "LastMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2557,
                                                            "Max" : 1279,
                                                            "Min" : 1278
                                                        },
                                                        "Chunks" : {
                                                            "Count" : 2,
                                                            "Sum" : 4,
                                                            "Max" : 2,
                                                            "Min" : 2
                                                        },
                                                        "ResumeMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2557,
                                                            "Max" : 1279,
                                                            "Min" : 1278
                                                        },
                                                        "FirstMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2556,
                                                            "Max" : 1278,
                                                            "Min" : 1278
                                                        },
                                                        "ActiveMessageMs" : {
                                                            "Count" : 2,
                                                            "Max" : 1279,
                                                            "Min" : 1278
                                                        },
                                                        "Bytes" : {
                                                            "Count" : 2,
                                                            "Sum" : 102,
                                                            "Max" : 72,
                                                            "Min" : 30
                                                        },
                                                        "PauseMessageMs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2020,
                                                            "Max" : 1010,
                                                            "Min" : 1010
                                                        },
                                                        "ActiveTimeUs" : {
                                                            "Count" : 1,
                                                            "Sum" : 1000,
                                                            "Max" : 1000,
                                                            "Min" : 1000
                                                        },
                                                        "WaitTimeUs" : {
                                                            "Count" : 2,
                                                            "Sum" : 2541132,
                                                            "Max" : 1270590,
                                                            "Min" : 1270542
                                                        },
                                                        "WaitPeriods" : {
                                                            "Count" : 2,
                                                            "Sum" : 4,
                                                            "Max" : 2,
                                                            "Min" : 2
                                                        },
                                                        "WaitMessageMs" : {
                                                            "Count" : 2,
                                                            "Max" : 1279,
                                                            "Min" : 1010
                                                        }
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "Node Type" : "Merge",
                                "SortColumns" : [
                                    "Count0 (Desc)"
                                ],
                                "PlanNodeType" : "Connection"
                            }
                        ],
                        "Operators" : [
                            {
                                "Inputs" : [
                                    {
                                        "ExternalPlanNodeId" : 6
                                    }
                                ],
                                "Name" : "Limit",
                                "Limit" : "10"
                            }
                        ],
                        "Node Type" : "Limit",
                        "Stats" : {
                            "UseLlvm" : "undefined",
                            "OutputRows" : {
                                "Count" : 1,
                                "Sum" : 6,
                                "Max" : 6,
                                "Min" : 6
                            },
                            "PhysicalStageId" : 3,
                            "FinishedTasks" : 1,
                            "InputBytes" : {
                                "Count" : 1,
                                "Sum" : 64,
                                "Max" : 64,
                                "Min" : 64
                            },
                            "DurationUs" : {
                                "Count" : 1,
                                "Sum" : 1000,
                                "Max" : 1000,
                                "Min" : 1000
                            },
                            "MaxMemoryUsage" : {
                                "Count" : 1,
                                "Sum" : 1114112,
                                "Max" : 1114112,
                                "Min" : 1114112
                            },
                            "BaseTimeMs" : 1765530672625,
                            "Output" : [
                                {
                                    "Pop" : {
                                        "Chunks" : {
                                            "Count" : 1,
                                            "Sum" : 1,
                                            "Max" : 1,
                                            "Min" : 1
                                        },
                                        "Rows" : {
                                            "Count" : 1,
                                            "Sum" : 6,
                                            "Max" : 6,
                                            "Min" : 6
                                        },
                                        "LastMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1280,
                                            "Max" : 1280,
                                            "Min" : 1280
                                        },
                                        "FirstMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1280,
                                            "Max" : 1280,
                                            "Min" : 1280
                                        },
                                        "Bytes" : {
                                            "Count" : 1,
                                            "Sum" : 59,
                                            "Max" : 59,
                                            "Min" : 59
                                        }
                                    },
                                    "Name" : "RESULT",
                                    "Push" : {
                                        "Rows" : {
                                            "Count" : 1,
                                            "Sum" : 6,
                                            "Max" : 6,
                                            "Min" : 6
                                        },
                                        "LastMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1280,
                                            "Max" : 1280,
                                            "Min" : 1280
                                        },
                                        "Chunks" : {
                                            "Count" : 1,
                                            "Sum" : 6,
                                            "Max" : 6,
                                            "Min" : 6
                                        },
                                        "ResumeMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "FirstMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "ActiveMessageMs" : {
                                            "Count" : 1,
                                            "Max" : 1280,
                                            "Min" : 1279
                                        },
                                        "PauseMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1010,
                                            "Max" : 1010,
                                            "Min" : 1010
                                        },
                                        "ActiveTimeUs" : {
                                            "Count" : 1,
                                            "Sum" : 1000,
                                            "Max" : 1000,
                                            "Min" : 1000
                                        },
                                        "WaitTimeUs" : {
                                            "Count" : 1,
                                            "Sum" : 1270643,
                                            "Max" : 1270643,
                                            "Min" : 1270643
                                        },
                                        "WaitPeriods" : {
                                            "Count" : 1,
                                            "Sum" : 1,
                                            "Max" : 1,
                                            "Min" : 1
                                        },
                                        "WaitMessageMs" : {
                                            "Count" : 1,
                                            "Max" : 1279,
                                            "Min" : 1010
                                        }
                                    }
                                }
                            ],
                            "CpuTimeUs" : {
                                "Count" : 1,
                                "Sum" : 835,
                                "Max" : 835,
                                "Min" : 835
                            },
                            "StageDurationUs" : 1000,
                            "ResultRows" : {
                                "Count" : 1,
                                "Sum" : 6,
                                "Max" : 6,
                                "Min" : 6
                            },
                            "ResultBytes" : {
                                "Count" : 1,
                                "Sum" : 59,
                                "Max" : 59,
                                "Min" : 59
                            },
                            "OutputBytes" : {
                                "Count" : 1,
                                "Sum" : 59,
                                "Max" : 59,
                                "Min" : 59
                            },
                            "Input" : [
                                {
                                    "Pop" : {
                                        "Chunks" : {
                                            "Count" : 1,
                                            "Sum" : 2,
                                            "Max" : 2,
                                            "Min" : 2
                                        },
                                        "Rows" : {
                                            "Count" : 1,
                                            "Sum" : 6,
                                            "Max" : 6,
                                            "Min" : 6
                                        },
                                        "LastMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "FirstMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "Bytes" : {
                                            "Count" : 1,
                                            "Sum" : 64,
                                            "Max" : 64,
                                            "Min" : 64
                                        }
                                    },
                                    "Name" : "5",
                                    "Push" : {
                                        "LastMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "Rows" : {
                                            "Count" : 1,
                                            "Sum" : 6,
                                            "Max" : 6,
                                            "Min" : 6
                                        },
                                        "Chunks" : {
                                            "Count" : 1,
                                            "Sum" : 2,
                                            "Max" : 2,
                                            "Min" : 2
                                        },
                                        "ResumeMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "FirstMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1279,
                                            "Max" : 1279,
                                            "Min" : 1279
                                        },
                                        "Bytes" : {
                                            "Count" : 1,
                                            "Sum" : 64,
                                            "Max" : 64,
                                            "Min" : 64
                                        },
                                        "PauseMessageMs" : {
                                            "Count" : 1,
                                            "Sum" : 1010,
                                            "Max" : 1010,
                                            "Min" : 1010
                                        },
                                        "WaitTimeUs" : {
                                            "Count" : 1,
                                            "Sum" : 635242,
                                            "Max" : 635242,
                                            "Min" : 635242
                                        },
                                        "WaitPeriods" : {
                                            "Count" : 1,
                                            "Sum" : 1,
                                            "Max" : 1,
                                            "Min" : 1
                                        },
                                        "WaitMessageMs" : {
                                            "Count" : 1,
                                            "Max" : 1279,
                                            "Min" : 1010
                                        }
                                    }
                                }
                            ],
                            "UpdateTimeMs" : 1280,
                            "InputRows" : {
                                "Count" : 1,
                                "Sum" : 6,
                                "Max" : 6,
                                "Min" : 6
                            },
                            "Tasks" : 1
                        }
                    }
                ],
                "Node Type" : "ResultSet",
                "PlanNodeType" : "ResultSet"
            }
        ],
        "Node Type" : "Query",
        "Stats" : {
            "Compilation" : {
                "FromCache" : false,
                "DurationUs" : 1127497,
                "CpuTimeUs" : 1116245
            },
            "ProcessCpuTimeUs" : 383,
            "TotalDurationUs" : 2452447,
            "ResourcePoolId" : "default",
            "QueuedTimeUs" : 0
        },
        "PlanNodeType" : "Query"
    },
    "meta" : {
        "version" : "0.2",
        "type" : "query"
    },
    "SimplifiedPlan" : {
        "PlanNodeId" : 0,
        "Plans" : [
            {
                "PlanNodeId" : 1,
                "Plans" : [
                    {
                        "PlanNodeId" : 2,
                        "Plans" : [
                            {
                                "PlanNodeId" : 4,
                                "Plans" : [
                                    {
                                        "PlanNodeId" : 5,
                                        "Plans" : [
                                            {
                                                "PlanNodeId" : 6,
                                                "Plans" : [
                                                    {
                                                        "PlanNodeId" : 7,
                                                        "Plans" : [
                                                            {
                                                                "PlanNodeId" : 8,
                                                                "Plans" : [
                                                                    {
                                                                        "PlanNodeId" : 9,
                                                                        "Plans" : [
                                                                            {
                                                                                "PlanNodeId" : 10,
                                                                                "Plans" : [
                                                                                    {
                                                                                        "PlanNodeId" : 11,
                                                                                        "Plans" : [
                                                                                            {
                                                                                                "PlanNodeId" : 12,
                                                                                                "Operators" : [
                                                                                                    {
                                                                                                        "Scan" : "Parallel",
                                                                                                        "E-Size" : "0",
                                                                                                        "ReadRanges" : [
                                                                                                            "CounterID (-∞, +∞)",
                                                                                                            "EventDate (-∞, +∞)",
                                                                                                            "UserID (-∞, +∞)",
                                                                                                            "EventTime (-∞, +∞)",
                                                                                                            "WatchID (-∞, +∞)"
                                                                                                        ],
                                                                                                        "Name" : "TableFullScan",
                                                                                                        "A-Rows" : 2193,
                                                                                                        "Path" : "/local/test_db/olap_yatests/clickbench/hits",
                                                                                                        "E-Rows" : "0",
                                                                                                        "Table" : "olap_yatests/clickbench/hits",
                                                                                                        "ReadColumns" : [
                                                                                                            "MobilePhoneModel",
                                                                                                            "UserID"
                                                                                                        ],
                                                                                                        "A-Size" : 53949,
                                                                                                        "SsaProgram" : {
                                                                                                            "Version" : 5,
                                                                                                            "Command" : [
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Bytes" : ""
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 106
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 12,
                                                                                                                            "KernelIdx" : 0,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 35
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 106
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 107
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Filter" : {
                                                                                                                        "Predicate" : {
                                                                                                                            "Id" : 107
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Projection" : {
                                                                                                                        "Columns" : [
                                                                                                                            {
                                                                                                                                "Id" : 35
                                                                                                                            },
                                                                                                                            {
                                                                                                                                "Id" : 10
                                                                                                                            }
                                                                                                                        ]
                                                                                                                    }
                                                                                                                }
                                                                                                            ]
                                                                                                        },
                                                                                                        "E-Cost" : "0"
                                                                                                    }
                                                                                                ],
                                                                                                "Node Type" : "TableFullScan"
                                                                                            }
                                                                                        ],
                                                                                        "Operators" : [
                                                                                            {
                                                                                                "E-Rows" : "0",
                                                                                                "Predicate" : "MobilePhoneModel != \"\"",
                                                                                                "Pushdown" : "True",
                                                                                                "Name" : "Filter",
                                                                                                "E-Size" : "0",
                                                                                                "E-Cost" : "0"
                                                                                            }
                                                                                        ],
                                                                                        "Node Type" : "Filter"
                                                                                    }
                                                                                ],
                                                                                "Operators" : [
                                                                                    {
                                                                                        "GroupBy" : "[item.MobilePhoneModel,item.UserID]",
                                                                                        "Aggregation" : "state",
                                                                                        "Name" : "Aggregate",
                                                                                        "A-SelfCpu" : 39.046,
                                                                                        "A-Rows" : 433,
                                                                                        "A-Cpu" : 39.046,
                                                                                        "Phase" : "Intermediate",
                                                                                        "A-Size" : 6206
                                                                                    }
                                                                                ],
                                                                                "Node Type" : "Aggregate"
                                                                            }
                                                                        ],
                                                                        "Node Type" : "HashShuffle (KeyColumns: [\"MobilePhoneModel\",\"UserID\"])",
                                                                        "PlanNodeType" : "Connection"
                                                                    }
                                                                ],
                                                                "Operators" : [
                                                                    {
                                                                        "Name" : "Aggregate",
                                                                        "Phase" : "Final"
                                                                    }
                                                                ],
                                                                "Node Type" : "Aggregate"
                                                            }
                                                        ],
                                                        "Operators" : [
                                                            {
                                                                "GroupBy" : "item.MobilePhoneModel",
                                                                "Aggregation" : "{Inc(state._yql_agg_0)}",
                                                                "Name" : "Aggregate",
                                                                "A-SelfCpu" : 2.062,
                                                                "A-Rows" : 9,
                                                                "A-Cpu" : 41.108,
                                                                "Phase" : "Intermediate",
                                                                "A-Size" : 102
                                                            }
                                                        ],
                                                        "Node Type" : "Aggregate"
                                                    }
                                                ],
                                                "Node Type" : "HashShuffle (KeyColumns: [\"MobilePhoneModel\"])",
                                                "PlanNodeType" : "Connection"
                                            }
                                        ],
                                        "Operators" : [
                                            {
                                                "A-Rows" : 6,
                                                "Name" : "Aggregate",
                                                "Phase" : "Final"
                                            }
                                        ],
                                        "Node Type" : "Aggregate"
                                    }
                                ],
                                "Operators" : [
                                    {
                                        "A-Rows" : 6,
                                        "A-SelfCpu" : 1.131,
                                        "A-Cpu" : 42.239,
                                        "A-Size" : 64,
                                        "Name" : "TopSort",
                                        "Limit" : "10",
                                        "TopSortBy" : "argument.Count0"
                                    }
                                ],
                                "Node Type" : "TopSort"
                            }
                        ],
                        "Operators" : [
                            {
                                "A-Rows" : 6,
                                "A-SelfCpu" : 0.835,
                                "A-Cpu" : 43.074,
                                "A-Size" : 59,
                                "Name" : "Limit",
                                "Limit" : "10"
                            }
                        ],
                        "Node Type" : "Limit"
                    }
                ],
                "Node Type" : "ResultSet",
                "PlanNodeType" : "ResultSet"
            }
        ],
        "Node Type" : "Query",
        "PlanNodeType" : "Query"
    }
}
