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

Zheng Shao commented on HIVE-31:
--------------------------------

Edward,

This should solve your problem:
{code}
INSERT OVERWRITE tableB PARTITION(year=xxx, month=yyy)
SELECT `(year|month)?+.+` FROM tableA
WHERE year = xxx and month = yyy;
{code}


> Hive: support CREATE TABLE xxx SELECT yyy.* FROM yyy
> ----------------------------------------------------
>
>                 Key: HIVE-31
>                 URL: https://issues.apache.org/jira/browse/HIVE-31
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Ning Zhang
>
> We should allow users to create a table using query result, without 
> specifying the column names and column types.

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

Reply via email to