OmniSciDB
a5dc49c757
|
Go to the source code of this file.
Macros | |
#define | SHARD_FOR_KEY(key, num_shards) ((key % num_shards + num_shards) % num_shards) |
#define SHARD_FOR_KEY | ( | key, | |
num_shards | |||
) | ((key % num_shards + num_shards) % num_shards) |
Definition at line 20 of file shard_key.h.
Referenced by Fragmenter_Namespace::compute_row_indices_of_shards(), import_export::Loader::distributeToShardsExistingColumns(), fill_hash_join_buff_sharded_impl(), get_bucketized_hash_slot_sharded(), and get_hash_slot_sharded().