Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4850

Create table "comment" comes after "partitioned by"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 2.13.0, Impala 3.1.0
    • Docs
    • 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.

      Attachments

        Activity

          People

            arodoni Alexandra Rodoni
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: