随笔分类 -  hive

摘要:1,查看分区 show partitions 表名 2, 删除分区 ALTER TABLE 表名 DROP PARTITION (dt='2021-07-27', hour='10'); 阅读全文
posted @ 2021-07-29 20:38 刘凯_tju 阅读(63) 评论(0) 推荐(0)
摘要:#!/bin/sh source ~/.bash_profile; source /etc/profile; start_date="20190622" end_date="20190625" while [ "$start_date" -le "$end_date" ]; do yestertod 阅读全文
posted @ 2021-07-13 19:46 刘凯_tju 阅读(197) 评论(0) 推荐(0)