You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Alex Rodoni (JIRA)" <ji...@apache.org> on 2018/05/08 21:51:00 UTC

[jira] [Closed] (IMPALA-4850) Create table "comment" comes after "partitioned by"

     [ https://issues.apache.org/jira/browse/IMPALA-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rodoni closed IMPALA-4850.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0
                   Impala 2.13.0

> Create table "comment" comes after "partitioned by"
> ---------------------------------------------------
>
>                 Key: IMPALA-4850
>                 URL: https://issues.apache.org/jira/browse/IMPALA-4850
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: Impala 2.9.0
>            Reporter: Joe McDonnell
>            Assignee: Alex Rodoni
>            Priority: Minor
>             Fix For: Impala 2.13.0, Impala 3.1.0
>
>
> For Impala's create table documentation, there is one location that incorrectly lists the table "COMMENT" coming before the "PARTITIONED BY". Specifically, in docs/topics/impala_create_table.xml, lines 98, 101:
> ...
> <codeblock>CREATE [EXTERNAL] TABLE [IF NOT EXISTS] [<varname>db_name</varname>.]<varname>table_name</varname>
>   LIKE PARQUET '<varname>hdfs_path_of_parquet_file</varname>'
>   [COMMENT '<varname>table_comment</varname>']
>   [PARTITIONED BY (<varname>col_name</varname> <varname>data_type</varname> [COMMENT '<varname>col_comment</varname>'], ...)]
> ...
> The table's COMMENT is only allowed after the PARTITIONED BY. The line with table_comment should be after the PARTITIONED BY line. This is correct in the other create table syntaxes on the page.



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