You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2016/07/29 19:50:20 UTC

[jira] [Created] (HIVE-14385) Show create table does not display comments

Peter Vary created HIVE-14385:
---------------------------------

             Summary: Show create table does not display comments
                 Key: HIVE-14385
                 URL: https://issues.apache.org/jira/browse/HIVE-14385
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
    Affects Versions: 2.2.0
            Reporter: Peter Vary


Create a view like this:
{noformat}
create table escape_comments_tbl1 (col1 string);
create view escape_comments_view1 (col1 comment 'ab') comment 'abc' as select col1 from escape_comments_tbl1;
{noformat}

Then run describe table, and the result does not contain the comments:
{noformat}
show create table escape_comments_view1;

CREATE VIEW `escape_comments_view1` AS SELECT `col1` AS `col1` FROM (select `escape_comments_tbl1`.`col1` from `default`.`escape_comments_tbl1`) `default.escape_comments_view1`
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)