berkaysynnada commented on code in PR #7544:
URL: https://github.com/apache/arrow-datafusion/pull/7544#discussion_r1325534023


##########
datafusion/physical-expr/src/analysis.rs:
##########
@@ -196,7 +196,8 @@ fn shrink_boundaries(
         &final_result.upper.value,
         &target_boundaries,
         &initial_boundaries,
-    )?;
+    )
+    .unwrap_or(1.0);

Review Comment:
   In this implementation, columns with infinite bounds are not handled, so it 
was returning an error, and the newly calculated bounds could not be set. This 
is a kind of workaround but I will refactor these parts with the context of 
[this issue](https://github.com/apache/arrow-datafusion/issues/7553)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to