[
https://issues.apache.org/jira/browse/HIVE-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835492#action_12835492
]
Ning Zhang commented on HIVE-1180:
----------------------------------
The session-level temp table has not been implemented yet or in the near-future
roadmap, but with the metastore's extension to keep the type of an object
(whether it is a table or a view), it is relatively straightforward to add a
new "temp table" type. The only thing is to change the DDL to support 'create
temporary table ...), and drop the temp table once a session ended.
Agreed with your point about the recursive queries. It is easy for the user to
write recursive queries, but hard for execution and bad for resource
management.
> Support Common Table Expressions (CTEs) in Hive
> -----------------------------------------------
>
> Key: HIVE-1180
> URL: https://issues.apache.org/jira/browse/HIVE-1180
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Jeff Hammerbacher
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.