Github user robertamarton commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/1288#discussion_r148654147 --- Diff: core/sql/sqlcomp/CmpDescribe.cpp --- @@ -3059,6 +3061,36 @@ short CmpDescribeSeabaseTable ( outputLongLine(*space, viewtext, 0); + //display comment for VIEW + if (objectUID > 0/* && COMMENT_CQD*/) + { + if (cmpSBD.switchCompiler()) + { + *CmpCommon::diags() << DgSqlCode(-CAT_UNABLE_TO_RETRIEVE_PRIVS); + return -1; --- End diff -- Is this the correct SQL code? Is COMMENT_CQD valid?
---