zealchen commented on code in PR #1594:
URL: https://github.com/apache/horaedb/pull/1594#discussion_r1855083845
##########
src/table_engine/src/partition/rule/key.rs:
##########
@@ -139,15 +141,33 @@ impl KeyRule {
&self,
group: &[usize],
filters: &[PartitionFilter],
- ) -> Result<BTreeSet<usize>> {
+ ) -> Result<PartitionedFilterKeyIndex> {
let mut partitions = BTreeSet::new();
+ // Retrieve all the key DatumView instances along with their
corresponding
+ // indices related to their positions in the predicate inlist. Since
DatumView
Review Comment:
This BTreeSet in PartitionedFilterKeyIndex is used to deduplicate the inlist
key value that contributes to the partition calculation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]