You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/07/04 00:55:29 UTC

[GitHub] [incubator-druid] clintropolis commented on a change in pull request #8019: multi-value string expression transformation fix

clintropolis commented on a change in pull request #8019: multi-value string expression transformation fix
URL: https://github.com/apache/incubator-druid/pull/8019#discussion_r300197523
 
 

 ##########
 File path: core/src/main/java/org/apache/druid/math/expr/Parser.java
 ##########
 @@ -171,13 +171,9 @@ public static Expr applyUnappliedIdentifiers(Expr expr, Expr.BindingDetails bind
       return expr;
     }
     List<String> unapplied = toApply.stream()
-                                     .filter(x -> bindingDetails.getFreeVariables().contains(x))
+                                     .filter(x -> bindingDetails.getRequiredColumnsList().contains(x))
 
 Review comment:
   Oops, `getRequiredColumns` originally returned a list, but I changed it to `getRequiredColumnsList` and added `getRequiredColumns` to return a set for this reason but forgot to make sure I updated all the places.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org