You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2018/02/16 21:12:00 UTC

[jira] [Created] (HIVE-18736) Create Table Like doc needs to be updated

Eugene Koifman created HIVE-18736:
-------------------------------------

             Summary: Create Table Like doc needs to be updated
                 Key: HIVE-18736
                 URL: https://issues.apache.org/jira/browse/HIVE-18736
             Project: Hive
          Issue Type: Bug
          Components: Documentation
            Reporter: Eugene Koifman


https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTableLike needs to be updated.

according to HiveParser.g the syntax is much richer that what is in the doc
{noformat}
    -> ^(TOK_CREATETABLE $name $temp? $ext? ifNotExists?
         ^(TOK_LIKETABLE $likeName?)
         columnNameTypeOrConstraintList?
         tableComment?
         tablePartition?
         tableBuckets?
         tableSkewed?
         tableRowFormat?
         tableFileFormat?
         tableLocation?
         tablePropertiesPrefixed?
         selectStatementWithCTE?
        )
{noformat}

I tried specifying TBLPROPERTIES on current master (Hive 3.0) and it works.  Updated doc accordingly but more verification/doc changes are needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)