如何在 Apache Phoenix 中获取盐桶计数?

How to get salt bucket count in Apache Phoenix?

A​​pache Phoenix 推荐 salted buckets 以提高性能。我希望获得我前段时间创建的 table 的盐桶数量。

如何获得计数?

select table_name, salt_buckets from SYSTEM.CATALOG where salt_buckets is not null;