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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]