A、获取最新分区信息(show无法被直接调用获取,只能展示信息)
select get_recent_partition('表格名称','表格分区名')
B、展示分区所有信息
show partitions table_name
A、获取最新分区信息(show无法被直接调用获取,只能展示信息)
select get_recent_partition('表格名称','表格分区名')
B、展示分区所有信息
show partitions table_name