[ 
https://issues.apache.org/jira/browse/KYLIN-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251710#comment-15251710
 ] 

hongbin ma commented on KYLIN-1453:
-----------------------------------

by grouping same dimension (especially high cardinality dimension) values to 
the same shard we can reduce query time overhead that has filter/groupby on 
that dimension

> cuboid sharding based on specific column
> ----------------------------------------
>
>                 Key: KYLIN-1453
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1453
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: hongbin ma
>            Assignee: hongbin ma
>
> currently cuboid sharding is based on the hash value of the row key. If we 
> allow computing hash value on a specific column C, then we're actually 
> partitioning the data w.r.t C. The benefit is that if we later a query with 
> filter like "where C = 'xyz'", kylin can skip shards. Also for filter like 
> "where C IN {many candidates}", kylin can prune candidates sent to different 
> shards



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to