You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/02/06 21:57:18 UTC

[GitHub] [druid] jon-wei opened a new issue #9327: Exception when one RHS column is joined to two different columns

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] jon-wei closed issue #9327: Join query exception when one RHS column is joined to two different columns

Posted by GitBox <gi...@apache.org>.
jon-wei closed issue #9327: Join query exception when one RHS column is joined to two different columns
URL: https://github.com/apache/druid/issues/9327
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org