hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Aggarwal (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1790) Patch to support HAVING clause in Hive
Date Tue, 21 Dec 2010 03:26:02 GMT

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

Vaibhav Aggarwal commented on HIVE-1790:
----------------------------------------

Please note that I have not created a common method for genFilterPlan and genHavingPlan.
The genHavingPlan needs to populate the input row resolver with additional information related
to column aliases.
It is not happening in genFilterPlan.
I don't think that there is lot of common code between the two methods. In this case I would
prefer separate methods over if statements in code. It keeps the control flow much cleaner.

> Patch to support HAVING clause in Hive
> --------------------------------------
>
>                 Key: HIVE-1790
>                 URL: https://issues.apache.org/jira/browse/HIVE-1790
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Vaibhav Aggarwal
>            Assignee: Vaibhav Aggarwal
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1790-1.patch, HIVE-1790.2.patch.txt, HIVE-1790.3.patch.txt,
HIVE-1790.4.patch.txt, HIVE-1790.patch
>
>
> Currently Hive users have to do nested queries in order to apply filter on group by expressions.
> This patch allows users to directly apply filter on group by expressions by using HAVING
clause.
> This patch also helps us integrate Hive with other data analysis tools which rely on
HAVING expression.

-- 
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