Login  Register

[jira] [Commented] (CARBONDATA-169) COLUMNDICT and ALL_DICT_PATH can not be used together

Posted by Akash R Nilugal (Jira) on Aug 23, 2016; 1:35pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Commented-CARBONDATA-169-COLUMNDICT-and-ALL-DICT-PATH-can-not-be-used-together-tp406.html


    [ https://issues.apache.org/jira/browse/CARBONDATA-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432783#comment-15432783 ]

ASF GitHub Bot commented on CARBONDATA-169:
-------------------------------------------

Github user Jay357089 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/83#discussion_r75865720
 
    --- Diff: integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala ---
    @@ -1001,6 +1001,12 @@ class CarbonSqlParser()
           "SERIALIZATION_NULL_FORMAT",
           "ALL_DICTIONARY_PATH"
         )
    +    if (options.exists(_._1.equalsIgnoreCase("COLUMNDICT")) &&
    +      options.exists(_._1.equalsIgnoreCase("ALL_DICTIONARY_PATH"))) {
    +      val errorMessage = "Error: COLUMNDICT and ALL_DICTIONARY_PATH can not be used together" +
    +        " in options"
    +      throw new MalformedCarbonCommandException(errorMessage)
    +    }
    --- End diff --
   
    done


> COLUMNDICT and ALL_DICT_PATH can not be used together
> -----------------------------------------------------
>
>                 Key: CARBONDATA-169
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-169
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Jay
>            Priority: Minor
>
> when user use "load data ... Options('COLUMNDICT'='', 'ALL_DICT_PATH'='')", the load sucess, but the query is not right.
> the reason is that columnDict and All_dict are not compatible, they should not be used together.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)