hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1546) Ability to plug custom Semantic Analyzers for Hive Grammar
Date Thu, 02 Sep 2010 19:09:53 GMT

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

Ashutosh Chauhan commented on HIVE-1546:
----------------------------------------

@Carl,

* Ya, the main motivating use case is to provide an alternate DDL CLI tool (hopefully not
crippled *smiles*). Reason for that is to enforce certain use-cases on DDL commands in Howl
CLI. More details on that are here: http://wiki.apache.org/pig/Howl/HowlCliFuncSpec If you
have questions why we are making such decisions in Howl, I will encourage you to post it on
howl-dev list and we can discuss it there. howldev@yahoogroups.com
* I dont understand what do you mean by making "SemanticAnalyzer a public API". This patch
is just letting other tools to do some semantic analysis of the query and then use Hive to
do further processing (if tool chooses to do so). Important point here is *other tools*. This
in no way enforcing any changes to any Hive behavior. Hive can continue to have its own semantic
analyzer and do any sort of semantic analysis of the query. Hive is making no guarantees to
any tool.
* Hive doesnt care about INPUTDRIVER and OUTPUTDRIVER and neither this patch is asking it
to. I dont see any way that its providing any mechanism for defining tables in MetaStore that
Hive cant read or write to.

@John,
Do you want to make me to any further changes or are we good to go?

> Ability to plug custom Semantic Analyzers for Hive Grammar
> ----------------------------------------------------------
>
>                 Key: HIVE-1546
>                 URL: https://issues.apache.org/jira/browse/HIVE-1546
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Metastore
>    Affects Versions: 0.7.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.7.0
>
>         Attachments: hive-1546-3.patch, hive-1546-4.patch, hive-1546.patch, hive-1546_2.patch
>
>
> It will be useful if Semantic Analysis phase is made pluggable such that other projects
can do custom analysis of hive queries before doing metastore operations on them. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message