{
    "Plan" : {
        "Plans" : [
            {
                "PlanNodeId" : 16,
                "Plans" : [
                    {
                        "PlanNodeId" : 15,
                        "Plans" : [
                            {
                                "PlanNodeId" : 14,
                                "Plans" : [
                                    {
                                        "PlanNodeId" : 13,
                                        "Plans" : [
                                            {
                                                "PlanNodeId" : 12,
                                                "Plans" : [
                                                    {
                                                        "PlanNodeId" : 11,
                                                        "Plans" : [
                                                            {
                                                                "PlanNodeId" : 10,
                                                                "Plans" : [
                                                                    {
                                                                        "PlanNodeId" : 9,
                                                                        "Plans" : [
                                                                            {
                                                                                "PlanNodeId" : 8,
                                                                                "Plans" : [
                                                                                    {
                                                                                        "Tables" : [
                                                                                            "olap_yatests/tpch/s1/partsupp"
                                                                                        ],
                                                                                        "PlanNodeId" : 7,
                                                                                        "Operators" : [
                                                                                            {
                                                                                                "Scan" : "Parallel",
                                                                                                "E-Size" : "21808128",
                                                                                                "ReadRanges" : [
                                                                                                    "ps_partkey (-∞, +∞)",
                                                                                                    "ps_suppkey (-∞, +∞)"
                                                                                                ],
                                                                                                "Name" : "TableFullScan",
                                                                                                "Inputs" : [ ],
                                                                                                "Path" : "/local/test_db/olap_yatests/tpch/s1/partsupp",
                                                                                                "E-Rows" : "800000",
                                                                                                "Table" : "olap_yatests/tpch/s1/partsupp",
                                                                                                "ReadColumns" : [
                                                                                                    "ps_partkey",
                                                                                                    "ps_suppkey"
                                                                                                ],
                                                                                                "SsaProgram" : {
                                                                                                    "Command" : [
                                                                                                        {
                                                                                                            "Projection" : {
                                                                                                                "Columns" : [
                                                                                                                    {
                                                                                                                        "Id" : 3
                                                                                                                    },
                                                                                                                    {
                                                                                                                        "Id" : 4
                                                                                                                    }
                                                                                                                ]
                                                                                                            }
                                                                                                        }
                                                                                                    ]
                                                                                                },
                                                                                                "E-Cost" : "0"
                                                                                            }
                                                                                        ],
                                                                                        "Node Type" : "TableFullScan"
                                                                                    }
                                                                                ],
                                                                                "HashFunc" : "HashV1",
                                                                                "Node Type" : "HashShuffle",
                                                                                "KeyColumns" : [
                                                                                    "ps_partkey"
                                                                                ],
                                                                                "PlanNodeType" : "Connection"
                                                                            },
                                                                            {
                                                                                "PlanNodeId" : 6,
                                                                                "Plans" : [
                                                                                    {
                                                                                        "Tables" : [
                                                                                            "olap_yatests/tpch/s1/part"
                                                                                        ],
                                                                                        "PlanNodeId" : 5,
                                                                                        "Operators" : [
                                                                                            {
                                                                                                "Inputs" : [
                                                                                                    {
                                                                                                        "InternalOperatorId" : 1
                                                                                                    }
                                                                                                ],
                                                                                                "E-Rows" : "72000",
                                                                                                "Predicate" : "(p_brand != \"Brand#45\" AND p_size == 49 OR p_size == 14 OR p_size == 23 OR p_size == 45 OR p_size == 19 OR p_size == 3 OR p_size == 36 OR p_size == 9) AND (NOT p_type LIKE \"MEDIUM POLISHED%\")",
                                                                                                "Pushdown" : "True",
                                                                                                "Name" : "Filter",
                                                                                                "E-Size" : "2964081.92",
                                                                                                "E-Cost" : "0"
                                                                                            },
                                                                                            {
                                                                                                "Scan" : "Parallel",
                                                                                                "E-Size" : "8233560.889",
                                                                                                "ReadRanges" : [
                                                                                                    "p_partkey (-∞, +∞)"
                                                                                                ],
                                                                                                "Name" : "TableFullScan",
                                                                                                "Inputs" : [ ],
                                                                                                "Path" : "/local/test_db/olap_yatests/tpch/s1/part",
                                                                                                "E-Rows" : "200000",
                                                                                                "Table" : "olap_yatests/tpch/s1/part",
                                                                                                "ReadColumns" : [
                                                                                                    "p_brand",
                                                                                                    "p_partkey",
                                                                                                    "p_size",
                                                                                                    "p_type"
                                                                                                ],
                                                                                                "SsaProgram" : {
                                                                                                    "Command" : [
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Bytes" : "Brand#45"
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 10
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 12,
                                                                                                                    "KernelIdx" : 0,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 1
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 10
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 11
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 49
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 12
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 1,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 12
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 13
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 14
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 14
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 2,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 14
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 15
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 3,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 13
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 15
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 16
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 23
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 17
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 4,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 17
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 18
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 45
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 19
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 5,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 19
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 20
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 6,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 18
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 20
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 21
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 7,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 16
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 21
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 22
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 19
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 23
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 8,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 23
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 24
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 3
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 25
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 9,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 25
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 26
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 10,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 24
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 26
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 27
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 36
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 28
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 11,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 28
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 29
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Int32" : 9
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 30
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 11,
                                                                                                                    "KernelIdx" : 12,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 8
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 30
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 31
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 13,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 29
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 31
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 32
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 14,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 27
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 32
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 33
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 1,
                                                                                                                    "KernelIdx" : 15,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 22
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 33
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 34
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 0,
                                                                                                                    "KernelIdx" : 16,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 11
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 34
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 35
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Filter" : {
                                                                                                                "Predicate" : {
                                                                                                                    "Id" : 35
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Projection" : { }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Constant" : {
                                                                                                                    "Bytes" : "MEDIUM POLISHED"
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 36
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "YqlOperationId" : 8,
                                                                                                                    "KernelIdx" : 17,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 9
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Id" : 36
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 37
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Assign" : {
                                                                                                                "Function" : {
                                                                                                                    "KernelIdx" : 18,
                                                                                                                    "FunctionType" : 2,
                                                                                                                    "Arguments" : [
                                                                                                                        {
                                                                                                                            "Id" : 37
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "Column" : {
                                                                                                                    "Id" : 38
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Filter" : {
                                                                                                                "Predicate" : {
                                                                                                                    "Id" : 38
                                                                                                                }
                                                                                                            }
                                                                                                        },
                                                                                                        {
                                                                                                            "Projection" : {
                                                                                                                "Columns" : [
                                                                                                                    {
                                                                                                                        "Id" : 1
                                                                                                                    },
                                                                                                                    {
                                                                                                                        "Id" : 6
                                                                                                                    },
                                                                                                                    {
                                                                                                                        "Id" : 8
                                                                                                                    },
                                                                                                                    {
                                                                                                                        "Id" : 9
                                                                                                                    }
                                                                                                                ]
                                                                                                            }
                                                                                                        }
                                                                                                    ]
                                                                                                },
                                                                                                "E-Cost" : "0"
                                                                                            }
                                                                                        ],
                                                                                        "Node Type" : "Filter-TableFullScan"
                                                                                    }
                                                                                ],
                                                                                "HashFunc" : "HashV1",
                                                                                "Node Type" : "HashShuffle",
                                                                                "KeyColumns" : [
                                                                                    "p_partkey"
                                                                                ],
                                                                                "PlanNodeType" : "Connection"
                                                                            },
                                                                            {
                                                                                "PlanNodeId" : 4,
                                                                                "Plans" : [
                                                                                    {
                                                                                        "PlanNodeId" : 3,
                                                                                        "Plans" : [
                                                                                            {
                                                                                                "PlanNodeId" : 2,
                                                                                                "Plans" : [
                                                                                                    {
                                                                                                        "Tables" : [
                                                                                                            "olap_yatests/tpch/s1/supplier"
                                                                                                        ],
                                                                                                        "PlanNodeId" : 1,
                                                                                                        "Operators" : [
                                                                                                            {
                                                                                                                "Inputs" : [
                                                                                                                    {
                                                                                                                        "InternalOperatorId" : 1
                                                                                                                    }
                                                                                                                ],
                                                                                                                "E-Rows" : "5000",
                                                                                                                "Predicate" : "Apply",
                                                                                                                "Pushdown" : "True",
                                                                                                                "Name" : "Filter",
                                                                                                                "E-Size" : "158097.1429",
                                                                                                                "E-Cost" : "0"
                                                                                                            },
                                                                                                            {
                                                                                                                "Scan" : "Parallel",
                                                                                                                "E-Size" : "316194.2857",
                                                                                                                "ReadRanges" : [
                                                                                                                    "s_suppkey (-∞, +∞)"
                                                                                                                ],
                                                                                                                "Name" : "TableFullScan",
                                                                                                                "Inputs" : [ ],
                                                                                                                "Path" : "/local/test_db/olap_yatests/tpch/s1/supplier",
                                                                                                                "E-Rows" : "10000",
                                                                                                                "Table" : "olap_yatests/tpch/s1/supplier",
                                                                                                                "ReadColumns" : [
                                                                                                                    "s_comment",
                                                                                                                    "s_suppkey"
                                                                                                                ],
                                                                                                                "SsaProgram" : {
                                                                                                                    "Command" : [
                                                                                                                        {
                                                                                                                            "Assign" : {
                                                                                                                                "Function" : {
                                                                                                                                    "KernelName" : "",
                                                                                                                                    "KernelIdx" : 0,
                                                                                                                                    "FunctionType" : 2,
                                                                                                                                    "Arguments" : [
                                                                                                                                        {
                                                                                                                                            "Id" : 3
                                                                                                                                        }
                                                                                                                                    ]
                                                                                                                                },
                                                                                                                                "Column" : {
                                                                                                                                    "Id" : 8
                                                                                                                                }
                                                                                                                            }
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Filter" : {
                                                                                                                                "Predicate" : {
                                                                                                                                    "Id" : 8
                                                                                                                                }
                                                                                                                            }
                                                                                                                        },
                                                                                                                        {
                                                                                                                            "Projection" : {
                                                                                                                                "Columns" : [
                                                                                                                                    {
                                                                                                                                        "Id" : 7
                                                                                                                                    }
                                                                                                                                ]
                                                                                                                            }
                                                                                                                        }
                                                                                                                    ]
                                                                                                                },
                                                                                                                "E-Cost" : "0"
                                                                                                            }
                                                                                                        ],
                                                                                                        "Node Type" : "Filter-TableFullScan"
                                                                                                    }
                                                                                                ],
                                                                                                "Node Type" : "UnionAll",
                                                                                                "PlanNodeType" : "Connection"
                                                                                            }
                                                                                        ],
                                                                                        "Node Type" : "Stage"
                                                                                    }
                                                                                ],
                                                                                "Node Type" : "Broadcast",
                                                                                "PlanNodeType" : "Connection"
                                                                            }
                                                                        ],
                                                                        "Operators" : [
                                                                            {
                                                                                "Inputs" : [
                                                                                    {
                                                                                        "InternalOperatorId" : 1
                                                                                    },
                                                                                    {
                                                                                        "InternalOperatorId" : 1
                                                                                    },
                                                                                    {
                                                                                        "InternalOperatorId" : 1
                                                                                    },
                                                                                    {
                                                                                        "InternalOperatorId" : 1
                                                                                    }
                                                                                ],
                                                                                "GroupBy" : "[0,1,2,3]",
                                                                                "Aggregation" : "",
                                                                                "Name" : "Aggregate",
                                                                                "Phase" : "Intermediate"
                                                                            },
                                                                            {
                                                                                "Inputs" : [
                                                                                    {
                                                                                        "InternalOperatorId" : 2
                                                                                    },
                                                                                    {
                                                                                        "ExternalPlanNodeId" : 4
                                                                                    }
                                                                                ],
                                                                                "E-Rows" : "400000",
                                                                                "Condition" : "ps.ps_suppkey = s.s_suppkey",
                                                                                "Name" : "LeftOnlyJoin (MapJoin)",
                                                                                "E-Size" : "40018957.21",
                                                                                "E-Cost" : "3229500"
                                                                            },
                                                                            {
                                                                                "Inputs" : [
                                                                                    {
                                                                                        "ExternalPlanNodeId" : 8
                                                                                    },
                                                                                    {
                                                                                        "ExternalPlanNodeId" : 6
                                                                                    }
                                                                                ],
                                                                                "E-Rows" : "400000",
                                                                                "Condition" : "ps.ps_partkey = p_1.p_partkey",
                                                                                "Name" : "InnerJoin (Grace)",
                                                                                "E-Size" : "27371185.78",
                                                                                "E-Cost" : "2016000"
                                                                            }
                                                                        ],
                                                                        "Node Type" : "Aggregate-LeftOnlyJoin (MapJoin)-InnerJoin (Grace)"
                                                                    }
                                                                ],
                                                                "HashFunc" : "HashV1",
                                                                "Node Type" : "HashShuffle",
                                                                "KeyColumns" : [
                                                                    "p_brand",
                                                                    "p_size",
                                                                    "p_type",
                                                                    "ps_suppkey"
                                                                ],
                                                                "PlanNodeType" : "Connection"
                                                            }
                                                        ],
                                                        "Operators" : [
                                                            {
                                                                "Inputs" : [
                                                                    {
                                                                        "ExternalPlanNodeId" : 10
                                                                    }
                                                                ],
                                                                "GroupBy" : "[0,1,2]",
                                                                "Aggregation" : "COUNT",
                                                                "Name" : "Aggregate",
                                                                "Phase" : "Intermediate"
                                                            }
                                                        ],
                                                        "Node Type" : "Aggregate"
                                                    }
                                                ],
                                                "HashFunc" : "HashV1",
                                                "Node Type" : "HashShuffle",
                                                "KeyColumns" : [
                                                    "p_brand",
                                                    "p_size",
                                                    "p_type"
                                                ],
                                                "PlanNodeType" : "Connection"
                                            }
                                        ],
                                        "Operators" : [
                                            {
                                                "Inputs" : [
                                                    {
                                                        "ExternalPlanNodeId" : 12
                                                    }
                                                ],
                                                "SortBy" : "[row.supplier_cnt,row.p_brand,row.p_type,row.p_size]",
                                                "Name" : "Sort"
                                            }
                                        ],
                                        "Node Type" : "Sort"
                                    }
                                ],
                                "Node Type" : "Merge",
                                "SortColumns" : [
                                    "supplier_cnt (Desc)",
                                    "p_brand (Asc)",
                                    "p_type (Asc)",
                                    "p_size (Asc)"
                                ],
                                "PlanNodeType" : "Connection"
                            }
                        ],
                        "Node Type" : "Stage"
                    }
                ],
                "Node Type" : "ResultSet",
                "PlanNodeType" : "ResultSet"
            }
        ],
        "Node Type" : "Query",
        "Stats" : {
            "ResourcePoolId" : "default"
        },
        "PlanNodeType" : "Query"
    },
    "meta" : {
        "version" : "0.2",
        "type" : "query"
    },
    "tables" : [
        {
            "name" : "/local/test_db/olap_yatests/tpch/s1/part",
            "reads" : [
                {
                    "columns" : [
                        "p_brand",
                        "p_partkey",
                        "p_size",
                        "p_type"
                    ],
                    "scan_by" : [
                        "p_partkey (-∞, +∞)"
                    ],
                    "type" : "FullScan"
                }
            ]
        },
        {
            "name" : "/local/test_db/olap_yatests/tpch/s1/partsupp",
            "reads" : [
                {
                    "columns" : [
                        "ps_partkey",
                        "ps_suppkey"
                    ],
                    "scan_by" : [
                        "ps_partkey (-∞, +∞)",
                        "ps_suppkey (-∞, +∞)"
                    ],
                    "type" : "FullScan"
                }
            ]
        },
        {
            "name" : "/local/test_db/olap_yatests/tpch/s1/supplier",
            "reads" : [
                {
                    "columns" : [
                        "s_comment",
                        "s_suppkey"
                    ],
                    "scan_by" : [
                        "s_suppkey (-∞, +∞)"
                    ],
                    "type" : "FullScan"
                }
            ]
        }
    ],
    "SimplifiedPlan" : {
        "PlanNodeId" : 0,
        "Plans" : [
            {
                "PlanNodeId" : 1,
                "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" : "21808128",
                                                                                                "ReadRanges" : [
                                                                                                    "ps_partkey (-∞, +∞)",
                                                                                                    "ps_suppkey (-∞, +∞)"
                                                                                                ],
                                                                                                "Name" : "TableFullScan",
                                                                                                "Path" : "/local/test_db/olap_yatests/tpch/s1/partsupp",
                                                                                                "E-Rows" : "800000",
                                                                                                "Table" : "olap_yatests/tpch/s1/partsupp",
                                                                                                "ReadColumns" : [
                                                                                                    "ps_partkey",
                                                                                                    "ps_suppkey"
                                                                                                ],
                                                                                                "SsaProgram" : {
                                                                                                    "Command" : [
                                                                                                        {
                                                                                                            "Projection" : {
                                                                                                                "Columns" : [
                                                                                                                    {
                                                                                                                        "Id" : 3
                                                                                                                    },
                                                                                                                    {
                                                                                                                        "Id" : 4
                                                                                                                    }
                                                                                                                ]
                                                                                                            }
                                                                                                        }
                                                                                                    ]
                                                                                                },
                                                                                                "E-Cost" : "0"
                                                                                            }
                                                                                        ],
                                                                                        "Node Type" : "TableFullScan"
                                                                                    }
                                                                                ],
                                                                                "Node Type" : "HashShuffle (KeyColumns: [\"ps_partkey\"], HashFunc: \"HashV1\")",
                                                                                "PlanNodeType" : "Connection"
                                                                            },
                                                                            {
                                                                                "PlanNodeId" : 13,
                                                                                "Plans" : [
                                                                                    {
                                                                                        "PlanNodeId" : 14,
                                                                                        "Plans" : [
                                                                                            {
                                                                                                "PlanNodeId" : 15,
                                                                                                "Operators" : [
                                                                                                    {
                                                                                                        "Scan" : "Parallel",
                                                                                                        "E-Size" : "8233560.889",
                                                                                                        "ReadRanges" : [
                                                                                                            "p_partkey (-∞, +∞)"
                                                                                                        ],
                                                                                                        "Name" : "TableFullScan",
                                                                                                        "Path" : "/local/test_db/olap_yatests/tpch/s1/part",
                                                                                                        "E-Rows" : "200000",
                                                                                                        "Table" : "olap_yatests/tpch/s1/part",
                                                                                                        "ReadColumns" : [
                                                                                                            "p_brand",
                                                                                                            "p_partkey",
                                                                                                            "p_size",
                                                                                                            "p_type"
                                                                                                        ],
                                                                                                        "SsaProgram" : {
                                                                                                            "Command" : [
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Bytes" : "Brand#45"
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 10
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 12,
                                                                                                                            "KernelIdx" : 0,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 1
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 10
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 11
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 49
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 12
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 1,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 12
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 13
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 14
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 14
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 2,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 14
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 15
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 3,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 13
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 15
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 16
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 23
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 17
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 4,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 17
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 18
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 45
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 19
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 5,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 19
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 20
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 6,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 18
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 20
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 21
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 7,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 16
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 21
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 22
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 19
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 23
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 8,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 23
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 24
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 3
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 25
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 9,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 25
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 26
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 10,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 24
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 26
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 27
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 36
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 28
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 11,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 28
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 29
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Int32" : 9
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 30
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 11,
                                                                                                                            "KernelIdx" : 12,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 8
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 30
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 31
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 13,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 29
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 31
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 32
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 14,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 27
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 32
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 33
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 1,
                                                                                                                            "KernelIdx" : 15,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 22
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 33
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 34
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 0,
                                                                                                                            "KernelIdx" : 16,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 11
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 34
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 35
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Filter" : {
                                                                                                                        "Predicate" : {
                                                                                                                            "Id" : 35
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Projection" : { }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Constant" : {
                                                                                                                            "Bytes" : "MEDIUM POLISHED"
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 36
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "YqlOperationId" : 8,
                                                                                                                            "KernelIdx" : 17,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 9
                                                                                                                                },
                                                                                                                                {
                                                                                                                                    "Id" : 36
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 37
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Assign" : {
                                                                                                                        "Function" : {
                                                                                                                            "KernelIdx" : 18,
                                                                                                                            "FunctionType" : 2,
                                                                                                                            "Arguments" : [
                                                                                                                                {
                                                                                                                                    "Id" : 37
                                                                                                                                }
                                                                                                                            ]
                                                                                                                        },
                                                                                                                        "Column" : {
                                                                                                                            "Id" : 38
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Filter" : {
                                                                                                                        "Predicate" : {
                                                                                                                            "Id" : 38
                                                                                                                        }
                                                                                                                    }
                                                                                                                },
                                                                                                                {
                                                                                                                    "Projection" : {
                                                                                                                        "Columns" : [
                                                                                                                            {
                                                                                                                                "Id" : 1
                                                                                                                            },
                                                                                                                            {
                                                                                                                                "Id" : 6
                                                                                                                            },
                                                                                                                            {
                                                                                                                                "Id" : 8
                                                                                                                            },
                                                                                                                            {
                                                                                                                                "Id" : 9
                                                                                                                            }
                                                                                                                        ]
                                                                                                                    }
                                                                                                                }
                                                                                                            ]
                                                                                                        },
                                                                                                        "E-Cost" : "0"
                                                                                                    }
                                                                                                ],
                                                                                                "Node Type" : "TableFullScan"
                                                                                            }
                                                                                        ],
                                                                                        "Operators" : [
                                                                                            {
                                                                                                "E-Rows" : "72000",
                                                                                                "Predicate" : "(p_brand != \"Brand#45\" AND p_size == 49 OR p_size == 14 OR p_size == 23 OR p_size == 45 OR p_size == 19 OR p_size == 3 OR p_size == 36 OR p_size == 9) AND (NOT p_type LIKE \"MEDIUM POLISHED%\")",
                                                                                                "Pushdown" : "True",
                                                                                                "Name" : "Filter",
                                                                                                "E-Size" : "2964081.92",
                                                                                                "E-Cost" : "0"
                                                                                            }
                                                                                        ],
                                                                                        "Node Type" : "Filter"
                                                                                    }
                                                                                ],
                                                                                "Node Type" : "HashShuffle (KeyColumns: [\"p_partkey\"], HashFunc: \"HashV1\")",
                                                                                "PlanNodeType" : "Connection"
                                                                            }
                                                                        ],
                                                                        "Operators" : [
                                                                            {
                                                                                "E-Rows" : "400000",
                                                                                "Condition" : "ps.ps_partkey = p_1.p_partkey",
                                                                                "Name" : "InnerJoin (Grace)",
                                                                                "E-Size" : "27371185.78",
                                                                                "E-Cost" : "2016000"
                                                                            }
                                                                        ],
                                                                        "Node Type" : "InnerJoin (Grace)"
                                                                    },
                                                                    {
                                                                        "PlanNodeId" : 19,
                                                                        "Plans" : [
                                                                            {
                                                                                "PlanNodeId" : 20,
                                                                                "Operators" : [
                                                                                    {
                                                                                        "Scan" : "Parallel",
                                                                                        "E-Size" : "316194.2857",
                                                                                        "ReadRanges" : [
                                                                                            "s_suppkey (-∞, +∞)"
                                                                                        ],
                                                                                        "Name" : "TableFullScan",
                                                                                        "Path" : "/local/test_db/olap_yatests/tpch/s1/supplier",
                                                                                        "E-Rows" : "10000",
                                                                                        "Table" : "olap_yatests/tpch/s1/supplier",
                                                                                        "ReadColumns" : [
                                                                                            "s_comment",
                                                                                            "s_suppkey"
                                                                                        ],
                                                                                        "SsaProgram" : {
                                                                                            "Command" : [
                                                                                                {
                                                                                                    "Assign" : {
                                                                                                        "Function" : {
                                                                                                            "KernelName" : "",
                                                                                                            "KernelIdx" : 0,
                                                                                                            "FunctionType" : 2,
                                                                                                            "Arguments" : [
                                                                                                                {
                                                                                                                    "Id" : 3
                                                                                                                }
                                                                                                            ]
                                                                                                        },
                                                                                                        "Column" : {
                                                                                                            "Id" : 8
                                                                                                        }
                                                                                                    }
                                                                                                },
                                                                                                {
                                                                                                    "Filter" : {
                                                                                                        "Predicate" : {
                                                                                                            "Id" : 8
                                                                                                        }
                                                                                                    }
                                                                                                },
                                                                                                {
                                                                                                    "Projection" : {
                                                                                                        "Columns" : [
                                                                                                            {
                                                                                                                "Id" : 7
                                                                                                            }
                                                                                                        ]
                                                                                                    }
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "E-Cost" : "0"
                                                                                    }
                                                                                ],
                                                                                "Node Type" : "TableFullScan"
                                                                            }
                                                                        ],
                                                                        "Operators" : [
                                                                            {
                                                                                "E-Rows" : "5000",
                                                                                "Predicate" : "Apply",
                                                                                "Pushdown" : "True",
                                                                                "Name" : "Filter",
                                                                                "E-Size" : "158097.1429",
                                                                                "E-Cost" : "0"
                                                                            }
                                                                        ],
                                                                        "Node Type" : "Filter"
                                                                    }
                                                                ],
                                                                "Operators" : [
                                                                    {
                                                                        "E-Rows" : "400000",
                                                                        "Condition" : "ps.ps_suppkey = s.s_suppkey",
                                                                        "Name" : "LeftOnlyJoin (MapJoin)",
                                                                        "E-Size" : "40018957.21",
                                                                        "E-Cost" : "3229500"
                                                                    }
                                                                ],
                                                                "Node Type" : "LeftOnlyJoin (MapJoin)"
                                                            }
                                                        ],
                                                        "Operators" : [
                                                            {
                                                                "GroupBy" : "[0,1,2,3]",
                                                                "Aggregation" : "",
                                                                "Name" : "Aggregate",
                                                                "Phase" : "Intermediate"
                                                            }
                                                        ],
                                                        "Node Type" : "Aggregate"
                                                    }
                                                ],
                                                "Node Type" : "HashShuffle (KeyColumns: [\"p_brand\",\"p_size\",\"p_type\",\"ps_suppkey\"], HashFunc: \"HashV1\")",
                                                "PlanNodeType" : "Connection"
                                            }
                                        ],
                                        "Operators" : [
                                            {
                                                "GroupBy" : "[0,1,2]",
                                                "Aggregation" : "COUNT",
                                                "Name" : "Aggregate",
                                                "Phase" : "Intermediate"
                                            }
                                        ],
                                        "Node Type" : "Aggregate"
                                    }
                                ],
                                "Node Type" : "HashShuffle (KeyColumns: [\"p_brand\",\"p_size\",\"p_type\"], HashFunc: \"HashV1\")",
                                "PlanNodeType" : "Connection"
                            }
                        ],
                        "Operators" : [
                            {
                                "SortBy" : "[row.supplier_cnt,row.p_brand,row.p_type,row.p_size]",
                                "Name" : "Sort"
                            }
                        ],
                        "Node Type" : "Sort"
                    }
                ],
                "Node Type" : "ResultSet",
                "PlanNodeType" : "ResultSet"
            }
        ],
        "Node Type" : "Query",
        "OptimizerStats" : {
            "EquiJoinsCount" : 1,
            "JoinsCount" : 3
        },
        "PlanNodeType" : "Query"
    }
}
