suneet-s commented on a change in pull request #9287: Add getRightColumns to 
JoinConditionAnalysis
URL: https://github.com/apache/druid/pull/9287#discussion_r372653362
 
 

 ##########
 File path: 
server/src/main/java/org/apache/druid/segment/join/InlineJoinableFactory.java
 ##########
 @@ -39,8 +38,7 @@
   {
     if (condition.canHashJoin() && dataSource instanceof InlineDataSource) {
       final InlineDataSource inlineDataSource = (InlineDataSource) dataSource;
-      final List<String> rightKeyColumns =
-          
condition.getEquiConditions().stream().map(Equality::getRightColumn).distinct().collect(Collectors.toList());
+      final List<String> rightKeyColumns = condition.getRightKeyColumns();
 
 Review comment:
   It's not immediately obvious to me how other implementations would use what 
`LookupJoinMatcher` is doing with the equiConditions. If it's ok with you, I'd 
like to do that refactoring at a later time

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