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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@apache.org
kangkaisen created KYLIN-2642:
---------------------------------

             Summary: 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


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)
Loading...