You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "kangkaisen (JIRA)" <ji...@apache.org> on 2017/05/23 13:16:04 UTC

[jira] [Updated] (KYLIN-2642) Relax check in RowKeyColDesc to keep backward compatibility

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

kangkaisen updated KYLIN-2642:
------------------------------
    Attachment: KYLIN-2642.patch

This is the patch.

> Relax check in RowKeyColDesc to keep backward compatibility
> -----------------------------------------------------------
>
>                 Key: KYLIN-2642
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2642
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.0.0
>            Reporter: kangkaisen
>            Assignee: kangkaisen
>            Priority: Minor
>         Attachments: KYLIN-2642.patch
>
>
> This check will make the cube DESCBROKEN if user used FixedLenDimEnc encode integer:
> {code:java}
>         if (encodingName.startsWith(FixedLenDimEnc.ENCODING_NAME) && (type.isIntegerFamily() || type.isNumberFamily())) {
>             throw new IllegalArgumentException(colRef + " type is " + type + " and cannot apply fixed_length encoding");
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)