[
https://issues.apache.org/jira/browse/CALCITE-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391825#comment-17391825
]
Haisheng Yuan commented on CALCITE-4712:
----------------------------------------
Thanks for commenting, Julian.
* The class will implement interface RelDistribution. We will useĀ
{{Type.HASH_DISTRIBUTED.}}
* "bucketCount" sounds good.
* "hashFunctionName" is also fine.
* ImmutableList<Integer> is OK. I seeĀ RelDistributionImpl usesĀ
ImmutableIntList, should we keep them consistent?
* I will add an example of "equivKeys".
* No, the nullls are in different columns.
> Add RelHashDistribution
> -----------------------
>
> Key: CALCITE-4712
> URL: https://issues.apache.org/jira/browse/CALCITE-4712
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Haisheng Yuan
> Priority: Major
>
> Add RelHashDistribution. The hash distribution should have the following
> properties:
> {code:java}
> 1. ImmutableIntList keys; // distribution keys
> 2. ImmutableList<ImmutableBitSet> equivKeys; // equivalent keys for each
> distribution key
> 3. int bucketNum; // number of buckets or shards
> 4. boolean nullsColocated; // are NULLS colocated?
> 5. String hashFunc; // name or identity of hash function
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)