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