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)

Reply via email to