Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Impala 2.9.0
-
None
Description
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.