fix some optimizer bugs

This commit is contained in:
chimyue
2023-06-07 03:12:37 +00:00
committed by ob-robot
parent 01f144ffc2
commit ec1838ed4d
6 changed files with 25 additions and 17 deletions

View File

@ -342,7 +342,6 @@ int ObLogWindowFunction::compute_op_ordering()
} else if (!single_part_parallel_) {
is_local_order_ = (range_dist_parallel_ || is_fully_partition_wise()
|| (get_sort_keys().empty()
&& LOG_EXCHANGE == child->get_type()
&& child->get_is_local_order())
) && !get_op_ordering().empty();
}