[
https://issues.apache.org/jira/browse/CARBONDATA-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432744#comment-15432744 ]
ASF GitHub Bot commented on CARBONDATA-169:
-------------------------------------------
Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/incubator-carbondata/pull/83#discussion_r75860680
--- Diff: integration/spark/src/test/scala/org/apache/carbondata/spark/util/ExternalColumnDictionaryTestCase.scala ---
@@ -205,6 +205,20 @@ class ExternalColumnDictionaryTestCase extends QueryTest with BeforeAndAfterAll
loadSqlRelation, "deviceInformationId", "10086")
}
+ test("COLUMNDICT and ALL_DICTIONARY_PATH can not be used together") {
+ try {
+ sql(s"""
+ LOAD DATA LOCAL INPATH "$complexFilePath1" INTO TABLE loadSqlTest
+ OPTIONS('COLUMNDICT'='$extColDictFilePath1',"ALL_DICTIONARY_PATH"='$extColDictFilePath1')
+ """)
+ assert(false)
--- End diff --
assert(false) is not required as Load command will throw an exception and control will go to exception block
> 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)