You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by you Zhuang <zh...@gmail.com> on 2018/10/23 11:30:21 UTC

Kylin update dictionary

Is there somewhere from which I can learn more about Kylin dictionary source code ? I want to update some values to existing dictionary, but when I read source code , few comments make me crazy, I struggle to find the default dictionary is TrieDictionary, but it’s immutable. So where I can learn more and how to update dictionary.

Re: Kylin update dictionary

Posted by you Zhuang <zh...@gmail.com>.
I have walked through these articles, But few info regarding dictionary source code. 

> On 23 Oct 2018, at 9:23 PM, ShaoFeng Shi <sh...@apache.org> wrote:
> 
> Hi you,
> 
> Kylin's Trie dictionary is sorted, so it is immutable: https://kylin.apache.org/blog/2015/08/13/kylin-dictionary/ <https://kylin.apache.org/blog/2015/08/13/kylin-dictionary/>
> 
> Global Dictionary is mutable, but it doesn't support decoding: 
> https://blog.bcmeng.com/post/kylin-distinct-count-global-dict.html <https://blog.bcmeng.com/post/kylin-distinct-count-global-dict.html>
> 
> you Zhuang <zhuangzixiaoyou@gmail.com <ma...@gmail.com>> 于2018年10月23日周二 下午7:30写道:
> Is there somewhere from which I can learn more about Kylin dictionary source code ? I want to update some values to existing dictionary, but when I read source code , few comments make me crazy, I struggle to find the default dictionary is TrieDictionary, but it’s immutable. So where I can learn more and how to update dictionary.
> 
> 
> -- 
> Best regards,
> 
> Shaofeng Shi 史少锋
> 


Re: Kylin update dictionary

Posted by ShaoFeng Shi <sh...@apache.org>.
Hi you,

Kylin's Trie dictionary is sorted, so it is immutable:
https://kylin.apache.org/blog/2015/08/13/kylin-dictionary/

Global Dictionary is mutable, but it doesn't support decoding:
https://blog.bcmeng.com/post/kylin-distinct-count-global-dict.html

you Zhuang <zh...@gmail.com> 于2018年10月23日周二 下午7:30写道:

> Is there somewhere from which I can learn more about Kylin dictionary
> source code ? I want to update some values to existing dictionary, but when
> I read source code , few comments make me crazy, I struggle to find the
> default dictionary is TrieDictionary, but it’s immutable. So where I can
> learn more and how to update dictionary.



-- 
Best regards,

Shaofeng Shi 史少锋