fix generate partition join filter plan bug

This commit is contained in:
zzg19950727
2023-05-08 02:38:37 +00:00
committed by ob-robot
parent cbc4f744dd
commit 1d1d1e009e
11 changed files with 61 additions and 91 deletions

View File

@ -813,12 +813,12 @@ struct EstimateCostInfo {
inline bool is_left_local_order() const
{
return NULL != left_path_ && NULL != right_path_ && !left_sort_keys_.empty() &&
left_path_->is_local_order_ && !is_fully_paratition_wise();
left_path_->is_local_order_ && !is_fully_partition_wise();
}
inline bool is_right_local_order() const
{
return NULL != right_path_ && NULL != left_path_ && !right_sort_keys_.empty() &&
right_path_->is_local_order_ && !is_fully_paratition_wise();
right_path_->is_local_order_ && !is_fully_partition_wise();
}
inline bool is_left_need_sort() const
{
@ -853,7 +853,7 @@ struct EstimateCostInfo {
return dist_method;
}
inline bool is_fully_paratition_wise() const {
inline bool is_fully_partition_wise() const {
return is_partition_wise() && !exchange_allocated_;
}
inline bool is_partition_wise() const