Commit Graph

1 Commits (b7972ed056cb94ce8e81458d0d54c3239e4a1ed2)

Author SHA1 Message Date
Burak Yucesoy b7972ed056 Add get_distribution_value_shardid UDF
With this UDF users can now map given distribution value to shard id. We mostly hide
shardids from users to prevent unnecessary complexity but some power users might need
to know about which entry/value is stored in which shard for maintanence purposes.

Signature of this UDF is as follows;

bigint get_distribution_value_shardid(table_name regclass, distribution_value anyelement)
2016-12-22 09:26:03 +03:00