You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/03/17 08:46:47 UTC

[jira] [Commented] (HIVE-1180) Support Common Table Expressions (CTEs) in Hive

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

Lefty Leverenz commented on HIVE-1180:
--------------------------------------

Apologies for the delay, [~rhbutani].  I made these changes (please revert anything you disagree with):

* [changes to Common Table Expression |https://cwiki.apache.org/confluence/pages/diffpages.action?pageId=38572242&originalId=40504878]
* [current CTE doc |https://cwiki.apache.org/confluence/display/Hive/Common+Table+Expression]

I also recommend changing COMMA to "," in the syntax -- just because I recently got confused by DOT for "." in the DDL wiki -- but since the examples show actual commas there shouldn't be any confusion here.

> Support Common Table Expressions (CTEs) in Hive
> -----------------------------------------------
>
>                 Key: HIVE-1180
>                 URL: https://issues.apache.org/jira/browse/HIVE-1180
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Jeff Hammerbacher
>            Assignee: Harish Butani
>             Fix For: 0.13.0
>
>         Attachments: HIVE-1180.1.patch, HIVE-1180.3.patch, HIVE-1180.6.patch
>
>
> I've seen some presentations from the PostgreSQL recently expounding the utility of CTEs (http://en.wikipedia.org/wiki/Common_table_expressions). Should we try to support these in Hive? I've never used them in practice, so curious to hear if the community would find them useful.



--
This message was sent by Atlassian JIRA
(v6.2#6252)