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

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

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

JIRA jira@apache.org

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

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_r75861773
 
    --- 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 --
   
    write assert(false) here is just to make sure that flow goes to catch part, you know, if not go to catch part, then test case should fail. ...i think it is necessary...


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