[ 
https://issues.apache.org/jira/browse/HIVE-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15610157#comment-15610157
 ] 

Jesus Camacho Rodriguez commented on HIVE-15046:
------------------------------------------------

Thanks for checking [~ashutoshc]. I have double checked the code: if we have 
multiple dimensions and some segments are missing the results for some of them 
(no matter the position), this should be handled properly by the code in 
{{nextKeyValue}} method (specifically logic to refresh indexes) plus the fix 
that is added in this patch. Basically, all combinations are created, adding 
NULL for those dimensions that lack a value.

> Multiple fixes for Druid handler
> --------------------------------
>
>                 Key: HIVE-15046
>                 URL: https://issues.apache.org/jira/browse/HIVE-15046
>             Project: Hive
>          Issue Type: Bug
>          Components: Druid integration
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-15046.01.patch, HIVE-15046.patch
>
>
> - Druid query type not recognized after Calcite upgrade; introduced by 
> HIVE-13316.
> - Fix handling of NULL values for GroupBy queries.
> - Fix handling of dimension/metrics names, as those names in Druid are case 
> sensitive.
> - Select Druid query to effectively return no rows when the result is empty 
> (previously returning a single row).
> - When it is split, each of the parts of a Select query might return more 
> results than threshold; set threshold to max integer in query so we do not 
> face this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to