kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-2969) Fix the wrong NumberBytesCodec cache in Number2BytesConverter
Date Sun, 05 Nov 2017 03:49:00 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Billy Liu updated KYLIN-2969:
-----------------------------
    Summary: Fix the wrong NumberBytesCodec cache in Number2BytesConverter   (was: java.io.IOException:
java.lang.IllegalArgumentException: Column 4 value '20102' met dictionary error: Value : 20102
not exists)

> Fix the wrong NumberBytesCodec cache in Number2BytesConverter 
> --------------------------------------------------------------
>
>                 Key: KYLIN-2969
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2969
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>             Fix For: v2.3.0
>
>         Attachments: APACHE-KYLIN-2969.patch
>
>
> It's a bug related to the {{NumberDictionary}} compatibility issue. In {{Number2BytesConverter}},
if the method {{getCodec}} invoked two times in one thread, like getCodec(19), getCodec(16).
For the second call, it will return {{NumberBytesCodec(19)}} rather than {{NumberBytesCodec(16)}},
which is not corrrect



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message