You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kevin Wilfong (Created) (JIRA)" <ji...@apache.org> on 2012/03/03 02:35:58 UTC

[jira] [Created] (HIVE-2836) CREATE TABLE LIKE does not copy table type

CREATE TABLE LIKE does not copy table type
------------------------------------------

                 Key: HIVE-2836
                 URL: https://issues.apache.org/jira/browse/HIVE-2836
             Project: Hive
          Issue Type: Bug
            Reporter: Kevin Wilfong
            Assignee: Kevin Wilfong


CREATE TABLE t LIKE t2

If t2 is external t will still be managed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HIVE-2836) CREATE TABLE LIKE does not copy table type

Posted by "Kevin Wilfong (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Wilfong resolved HIVE-2836.
---------------------------------

    Resolution: Not A Problem
    
> CREATE TABLE LIKE does not copy table type
> ------------------------------------------
>
>                 Key: HIVE-2836
>                 URL: https://issues.apache.org/jira/browse/HIVE-2836
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>
> CREATE TABLE t LIKE t2
> If t2 is external t will still be managed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2836) CREATE TABLE LIKE does not copy table type

Posted by "Aniket Mokashi (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222143#comment-13222143 ] 

Aniket Mokashi commented on HIVE-2836:
--------------------------------------

Read Zheng Shao's comment on HIVE-509. Looks like this is intended behavior. If you want to create external table, you have to create external table t like t2.
Am I missing anything?
                
> CREATE TABLE LIKE does not copy table type
> ------------------------------------------
>
>                 Key: HIVE-2836
>                 URL: https://issues.apache.org/jira/browse/HIVE-2836
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>
> CREATE TABLE t LIKE t2
> If t2 is external t will still be managed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2836) CREATE TABLE LIKE does not copy table type

Posted by "Kevin Wilfong (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222482#comment-13222482 ] 

Kevin Wilfong commented on HIVE-2836:
-------------------------------------

@Aniket

Thanks for pointing that out.
                
> CREATE TABLE LIKE does not copy table type
> ------------------------------------------
>
>                 Key: HIVE-2836
>                 URL: https://issues.apache.org/jira/browse/HIVE-2836
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>
> CREATE TABLE t LIKE t2
> If t2 is external t will still be managed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira