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

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

For good measure, I mentioned CTEs in these sections, with links to the SELECT 
syntax and CTE doc:

* [DML:  Inserting data into Hive Tables from queries 
|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Notes.1]
* [DDL:  CTAS 
|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTableAsSelect(CTAS)]
* [DDL:  Create View 
|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateView]

I also added a version note to the SELECT syntax:

* [Select Syntax 
|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select#LanguageManualSelect-SelectSyntax]

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

Reply via email to