jon-wei opened a new issue #9327: Exception when one RHS column is joined to 
two different columns
URL: https://github.com/apache/druid/issues/9327
 
 
   If a join query has an equicondition where one RHS column is joined to two 
different columns, e.g.
   
   ```
   r1.regionIsoCode == regionIsoCode && r1.regionIsoCode == countryIsoCode
   ```
   
   The `Equality` object for one of the conditions will currently have a 
`rightColumn` identifier where an extra `_0` suffix is appended to the rhs 
column name (`regionIsoCode_0` in this example), causing the query to fail with 
an error like:
   
   ```
   Cannot build hash-join matcher on non-key-based condition: 
Equality{leftExpr=countryIsoCode, rightColumn='regionIsoCode_0`
   ```

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