kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3071) Add config to reuse dict to reduce dict size
Date Mon, 07 May 2018 10:57:00 GMT


Shaofeng SHI commented on KYLIN-3071:

[] Growing Dict will base on the biggest dict to build a new dictionary
(when there is new value not covered). The drawback is, a small segment may uses a very big


Hao's change is, if there is an existing dictionary contains all the values, then use it.
It won't make the dictionary bigger.

> Add config to reuse dict to reduce dict size 
> ---------------------------------------------
>                 Key: KYLIN-3071
>                 URL:
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metadata
>            Reporter: Yang Hao
>            Assignee: Yang Hao
>            Priority: Major
>             Fix For: Future
>         Attachments: KYLIN-3071.apache-master.001.patch
> When calling DictionaryManager.trySaveNewDict, and growing dict is not enabled, it only
use the history dict which is equal, it may generate many dict. We should supply a config
to use contains instead of equal to reuse old dict.

This message was sent by Atlassian JIRA

View raw message