You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Remus Rusanu (JIRA)" <ji...@apache.org> on 2017/04/03 16:25:41 UTC

[jira] [Created] (HIVE-16358) Push TOP N to Druid queries

Remus Rusanu created HIVE-16358:
-----------------------------------

             Summary: Push TOP N to Druid queries
                 Key: HIVE-16358
                 URL: https://issues.apache.org/jira/browse/HIVE-16358
             Project: Hive
          Issue Type: Improvement
          Components: Query Planning, Query Processor
            Reporter: Remus Rusanu
            Assignee: Remus Rusanu


After HIVE-15708 promotes Calcite to 1.12, {{TOP N}} queries over Druid tables will be implemented by GroupBy on Druid and then (sort and) Limit on Hive. The relevant changes on Calcite side are related to CALCITE-1578 and steam from fundamental semantic differences between Druid concept of TOP (ie. top within a GBy) vs. SQL TOP/LIMIT (ie. global).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)