hive裏如何快速查看錶中有多少記錄數

方法一: 在hue界面的hive下找到相應的表,即可看到表的行數和大小等信息。 方法二編寫腳本, [[email protected] hive]# cat count_tables.sh myorder=1 while read line; do eval "hive --database tpc_ds -S -e 'select \"$myorder\" as myorder, \"$line
相關文章
相關標籤/搜索