You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/09/07 19:52:04 UTC

[GitHub] [arrow-datafusion] iajoiner commented on a diff in pull request #3341: Replace panic in `datafusion-expr` crate

iajoiner commented on code in PR #3341:
URL: https://github.com/apache/arrow-datafusion/pull/3341#discussion_r965215913


##########
datafusion/expr/src/logical_plan/builder.rs:
##########
@@ -605,14 +605,12 @@ impl LogicalPlanBuilder {
         let mut join_on: Vec<(Column, Column)> = vec![];
         let mut filters: Option<Expr> = None;
         for (l, r) in &on {
-            if self.plan.schema().field_from_column(l).is_ok()
-                && right.schema().field_from_column(r).is_ok()
-                && can_hash(self.plan.schema().field_from_column(l).unwrap().data_type())
+            if right.schema().field_from_column(r).is_ok()

Review Comment:
   Ah I see. Really thanks! Fixed!



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org