Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opt](profile) Operator of same pipeline should have same indent level (
#47921) ### What problem does this PR solve? Operator of same pipeline should have same indent level Master ```text MergedProfile Fragments: Fragment 0: Pipeline : 0(instance_num=16): - WaitWorkerTime: avg 29.266us, max 40.353us, min 22.437us RESULT_SINK_OPERATOR (id=0): - CloseTime: avg 126.883us, max 923.120us, min 9.218us - ExecTime: avg 391.625us, max 1.224ms, min 173.281us ... - WaitForDependency[RESULT_SINK_OPERATOR_DEPENDENCY]Time: avg 0ns, max 0ns, min 0ns LOCAL_EXCHANGE_OPERATOR (PASSTHROUGH) (id=-1): - BlocksProduced: sum 0, avg 0, max 0, min 0 - CloseTime: avg 0ns, max 0ns, min 0ns - ExecTime: avg 29.423us, max 38.958us, min 20.25us ... - WaitForDependency[LOCAL_EXCHANGE_OPERATOR_DEPENDENCY]Time: avg 33.716ms, max 33.805ms, min 33.531ms Pipeline : 1(instance_num=1): - WaitWorkerTime: avg 26.452us, max 26.452us, min 26.452us LOCAL_EXCHANGE_SINK_OPERATOR (PASSTHROUGH) (id=-1): - CloseTime: avg 146.343us, max 146.343us, min 146.343us - ExecTime: avg 276.967us, max 276.967us, min 276.967us - InitTime: avg 117.846us, max 117.846us, min 117.846us - InputRows: sum 0, avg 0, max 0, min 0 ... - WaitForDependency[LOCAL_EXCHANGE_SINK_DEPENDENCY]Time: avg 0ns, max 0ns, min 0ns OLAP_SCAN_OPERATOR (id=0. nereids_id=122. table name = test_bloom_filter_hit(test_bloom_filter_hit)): - BlocksProduced: sum 0, avg 0, max 0, min 0 - CloseTime: avg 127.942us, max 127.942us, min 127.942us - ExecTime: avg 37.62ms, max 37.62ms, min 37.62ms - InitTime: avg 3.267ms, max 3.267ms, min 3.267ms ... - WaitForDependency[OLAP_SCAN_OPERATOR_DEPENDENCY]Time: avg 20.935ms, max 20.935ms, min 20.935ms ``` After opt ```text MergedProfile Fragments: Fragment 0: Pipeline : 0(instance_num=1): - WaitWorkerTime: avg 25.288us, max 25.288us, min 25.288us RESULT_SINK_OPERATOR (id=0): - CloseTime: avg 3.262us, max 3.262us, min 3.262us - ExecTime: avg 181.520us, max 181.520us, min 181.520us - InputRows: sum 100, avg 100, max 100, min 100 ... - WaitForDependency[RESULT_SINK_OPERATOR_DEPENDENCY]Time: avg 0ns, max 0ns, min 0ns EXCHANGE_OPERATOR (id=17): - BlocksProduced: sum 1, avg 1, max 1, min 1 - ExecTime: avg 149.70us, max 149.70us, min 149.70us ... - RowsProduced: sum 100, avg 100, max 100, min 100 - WaitForDependencyTime: avg 0ns, max 0ns, min 0ns - WaitForData0: avg 5sec473ms, max 5sec473ms, min 5sec473ms Fragment 1: Pipeline : 0(instance_num=48): - WaitWorkerTime: avg 15.408us, max 46.623us, min 5.290us DATA_STREAM_SINK_OPERATOR (id=17,dst_id=17): - BlocksProduced: sum 48, avg 1, max 1, min 1 - ExecTime: avg 23.363us, max 40.711us, min 13.443us - InputRows: sum 100, avg 2, max 100, min 0 ... - WaitForDependencyTime: avg 0ns, max 0ns, min 0ns - WaitForRpcBufferQueue: avg 0ns, max 0ns, min 0ns LOCAL_EXCHANGE_OPERATOR (LOCAL_MERGE_SORT) (id=-4): - BlocksProduced: sum 1, avg 0, max 1, min 0 - CloseTime: avg 0ns, max 0ns, min 0ns - ExecTime: avg 15.815us, max 699.196us, min 620ns ... - RowsProduced: sum 100, avg 2, max 100, min 0 - WaitForDependencyTime: avg 5sec472ms, max 5sec472ms, min 5sec472 ```
- Loading branch information