@property
  def cols(self):
    rows = self.describe
    col_row_index = 2
    try:
      end_cols_index = map(itemgetter('col_name'), rows[col_row_index:]).index('')
      return rows[col_row_index:][:end_cols_index] + self._get_partition_column()
    except __HOLE__:  # DESCRIBE on columns and nested columns does not contain add'l rows beyond cols
      return rows[col_row_index:]
    except:
      # Impala does not have it
      return rows
dataset/ETHPy150Open cloudera/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py/HiveServerTable.cols