carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QiangCai <>
Subject [GitHub] incubator-carbondata pull request #339: [CARBONDATA-429][WIP] Remove unneces...
Date Wed, 14 Dec 2016 07:11:55 GMT
Github user QiangCai commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/carbondata/core/cache/dictionary/
    @@ -167,12 +167,9 @@ private Dictionary getDictionary(
           DictionaryColumnUniqueIdentifier dictionaryColumnUniqueIdentifier)
           throws CarbonUtilException {
         Dictionary reverseDictionary = null;
    -    // create column dictionary info object only if dictionary and its
    -    // metadata file exists for a given column identifier
    -    if (!isFileExistsForGivenColumn(dictionaryColumnUniqueIdentifier)) {
    -      throw new CarbonUtilException(
    -          "Either dictionary or its metadata does not exist for column identifier ::
    -              + dictionaryColumnUniqueIdentifier.getColumnIdentifier());
    +    // create column dictionary info object only if it is primitive type.
    +    if (dictionaryColumnUniqueIdentifier.getDataType().isComplexType()) {
    +      return null;
    --- End diff --
    We will not invoke getDictionary() method on  complex type column directly.  For complex
type column, we call getDictionary() method on primitive type sub-column.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message