批量刪除hive表分區

執行shell腳本批量刪除hive表分區sql 執行命令: sh delete_partitions.sh schema.table_name 2017-11-01 2017-12-01shell   delete_partitions.sh腳本以下:bash   #!/bin/sh if [ $# == 3 ]; then begin_date=`date -d "+0 day $2
相關文章
相關標籤/搜索