impala相关命令


环境:

  • kudu:1.7.0
  • CDH:5.16.2

2020-06-02

  • 查看字段统计信息
# 查看字段统计信息
>>> SHOW COLUMN STATS web_rpa_count;

参考:https://docs.cloudera.com/documentation/enterprise/5-16-x/topics/impala_perf_stats.html
impala相关命令_第1张图片

  • 查看表信息
# 查看表信息
>>> DESCRIBE web_rpa_count;

参考:https://docs.cloudera.com/documentation/enterprise/5-16-x/topics/impala_describe.html
impala相关命令_第2张图片

  • 添加列
# 添加列
>>> ALTER TABLE web_rpa_count ADD COLUMNS (end_time TIMESTAMP NULL);

参考:https://docs.cloudera.com/documentation/enterprise/5-16-x/topics/impala_alter_table.html

你可能感兴趣的:(不定时更新,大数据)