clintropolis commented on a change in pull request #11339:
URL: https://github.com/apache/druid/pull/11339#discussion_r647123176
##########
File path:
processing/src/main/java/org/apache/druid/query/dimension/ListFilteredDimensionSpec.java
##########
@@ -88,7 +87,7 @@ public DimensionSelector decorate(final DimensionSelector
selector)
private DimensionSelector filterWhiteList(DimensionSelector selector)
{
final int selectorCardinality = selector.getValueCardinality();
- if (selectorCardinality < 0 || (selector.idLookup() == null &&
!selector.nameLookupPossibleInAdvance())) {
+ if (selectorCardinality < 0 || !selector.nameLookupPossibleInAdvance()) {
Review comment:
why did this have the condition that the idLookup is null before?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]