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

Document the column definitions list in CREATE VIEW

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Impala 2.10.0
    • Impala 2.13.0, Impala 3.1.0
    • Docs
    • None
    • ghx-label-8

    Description

      Looking at this page:
      https://impala.apache.org/docs/build/html/topics/impala_create_view.html#create_view

      It appears we do not have an example for the "columns_list" that shows adding a comment to a column. We should add that.

      Example:

      create table t1 (c1 int, c2 int);
      create view v (x comment 'hello world', y) as select * from t1;
      describe v;
      +------+------+-------------+
      | name | type | comment     |
      +------+------+-------------+
      | x    | int  | hello world |
      | y    | int  |             |
      +------+------+-------------+
      

      Attachments

        Activity

          People

            arodoni Alexandra Rodoni
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: