File tree Expand file tree Collapse file tree
python/cudf_polars/cudf_polars/experimental Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,16 +169,17 @@ def _(
169169 left_count = pi_left [left ].count
170170 right_count = pi_right [right ].count
171171 output_count = max (left_count , right_count )
172- fallback_msg = "ConditionalJoin not supported for multiple partitions."
173- if left_count < right_count :
174- if output_count > 1 or dynamic_planning :
172+ if output_count > 1 or dynamic_planning :
173+ if left_count < right_count :
175174 left = Repartition (left .schema , left )
176175 pi_left [left ] = PartitionInfo (count = 1 )
177- _fallback_inform (fallback_msg , config_options )
178- elif output_count > 1 or dynamic_planning :
179- right = Repartition (right .schema , right )
180- pi_right [right ] = PartitionInfo (count = 1 )
181- _fallback_inform (fallback_msg , config_options )
176+ else :
177+ right = Repartition (right .schema , right )
178+ pi_right [right ] = PartitionInfo (count = 1 )
179+ _fallback_inform (
180+ "ConditionalJoin not supported for multiple partitions." ,
181+ config_options ,
182+ )
182183
183184 # Reconstruct and return
184185 new_node = ir .reconstruct ([left , right ])
You can’t perform that action at this time.
0 commit comments