取最后的分区

function GetLastestPartition(){
GetLastestPartition_tablename='表名'
ExecuteHQL "show partitions ${GetLastestPartition_tablename}" | tail -n 1 | cut -d'=' -f2
}

posted @ 2019-11-26 16:26  TryMyBest!  阅读(167)  评论(0)    收藏  举报