소스 검색

HUE-6373 [impala] Inject table comment into the table API

Romain Rigaux 8 년 전
부모
커밋
4b5f48d55f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      apps/beeswax/src/beeswax/api.py

+ 1 - 0
apps/beeswax/src/beeswax/api.py

@@ -110,6 +110,7 @@ def _autocomplete(db, database=None, table=None, column=None, nested=None):
     elif column is None:
       table = db.get_table(database, table)
       response['hdfs_link'] = table.hdfs_link
+      response['comment'] = table.comment
 
       cols_extended = massage_columns_for_json(table.cols)