[
https://issues.apache.org/jira/browse/CARBONDATA-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432747#comment-15432747 ]
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_r75861269
--- 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 --
OK. i will move
> 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)