jnaous commented on a change in pull request #9111: Add HashJoinSegment, a 
virtual segment for joins.
URL: https://github.com/apache/druid/pull/9111#discussion_r365272375
 
 

 ##########
 File path: 
processing/src/main/java/org/apache/druid/query/extraction/MapLookupExtractor.java
 ##########
 @@ -122,6 +122,18 @@ public boolean isOneToOne()
     }
   }
 
+  @Override
+  public boolean canIterate()
+  {
+    return true;
+  }
+
+  @Override
+  public Iterable<Map.Entry<String, String>> iterable()
+  {
+    return map.entrySet();
+  }
+
 
 Review comment:
   And then more importantly perhaps could add a unit test for equals below 
since you're here :)

----------------------------------------------------------------
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]

Reply via email to