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

Laljo John Pullokkaran commented on HIVE-8561:
----------------------------------------------

Hive Optiq Rel Node is gonna be removed shortly as part of refactoring; also 
Optiq/Calcite is going through refactoring/renaming.

w.r.t public api, an api to get logical plan with/without optimization may be 
what you want.
Public API needs to address:
 1. what sort of queries can this api handle (select, insert in to, create 
table as)?
 2. What about security (is Hive gonna enforce security or is it going to be 
Drill)?
 3. What about views?

> Expose Hive optiq operator tree to be able to support other sql on hadoop 
> query engines
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-8561
>                 URL: https://issues.apache.org/jira/browse/HIVE-8561
>             Project: Hive
>          Issue Type: Task
>          Components: CBO
>    Affects Versions: 0.14.0
>            Reporter: Na Yang
>            Assignee: Na Yang
>         Attachments: HIVE-8561.2.patch, HIVE-8561.3.patch, HIVE-8561.patch
>
>
> Hive-0.14 added cost based optimization and optiq operator tree is created 
> for select queries. However, the optiq operator tree is not visible from 
> outside and hard to be used by other Sql on Hadoop query engine such as 
> apache Drill. To be able to allow drill to access the hive optiq operator 
> tree, we need to add a public api to return the hive optiq operator tree.  



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

Reply via email to