[CP] fix null skew handling inconsistant with sharding info
This commit is contained in:
		
				
					committed by
					
						
						ob-robot
					
				
			
			
				
	
			
			
			
						parent
						
							c1518248ed
						
					
				
				
					commit
					841c6bd2b5
				
			@ -4824,16 +4824,16 @@ void ObLogPlan::compute_null_distribution_info(const ObJoinType &join_type,
 | 
			
		||||
        right_exch_info.null_row_dist_method_ = ObNullDistributeMethod::DROP;
 | 
			
		||||
        break;
 | 
			
		||||
      case ObJoinType::LEFT_OUTER_JOIN:
 | 
			
		||||
        left_exch_info.null_row_dist_method_ = ObNullDistributeMethod::RANDOM;
 | 
			
		||||
        left_exch_info.null_row_dist_method_ = ObNullDistributeMethod::NONE;
 | 
			
		||||
        right_exch_info.null_row_dist_method_ = ObNullDistributeMethod::DROP;
 | 
			
		||||
        break;
 | 
			
		||||
      case ObJoinType::RIGHT_OUTER_JOIN:
 | 
			
		||||
        left_exch_info.null_row_dist_method_ = ObNullDistributeMethod::DROP;
 | 
			
		||||
        right_exch_info.null_row_dist_method_ = ObNullDistributeMethod::RANDOM;
 | 
			
		||||
        right_exch_info.null_row_dist_method_ = ObNullDistributeMethod::NONE;
 | 
			
		||||
        break;
 | 
			
		||||
      case ObJoinType::FULL_OUTER_JOIN:
 | 
			
		||||
        left_exch_info.null_row_dist_method_ = ObNullDistributeMethod::RANDOM;
 | 
			
		||||
        right_exch_info.null_row_dist_method_ = ObNullDistributeMethod::RANDOM;
 | 
			
		||||
        left_exch_info.null_row_dist_method_ = ObNullDistributeMethod::NONE;
 | 
			
		||||
        right_exch_info.null_row_dist_method_ = ObNullDistributeMethod::NONE;
 | 
			
		||||
        break;
 | 
			
		||||
      default:
 | 
			
		||||
        left_exch_info.null_row_dist_method_ = ObNullDistributeMethod::NONE;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user