metastore get_sample partition table

- multiple partitions bug fix