carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-280) when table properties is repeated it only set the last one
Date Wed, 12 Oct 2016 15:09:22 GMT

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

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

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

    https://github.com/apache/incubator-carbondata/pull/204#discussion_r83027008
  
    --- Diff: integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/deleteTable/TestDeleteTableNewDDL.scala
---
    @@ -97,7 +97,7 @@ class TestDeleteTableNewDDL extends QueryTest with BeforeAndAfterAll
{
           "CREATE table CaseInsensitiveTable (ID int, date String, country String, name "
+
           "String," +
           "phonetype String, serialname String, salary int) stored by 'org.apache.carbondata.format'"
+
    -      "TBLPROPERTIES('DICTIONARY_INCLUDE'='ID', 'DICTIONARY_INCLUDE'='salary')"
    +      "TBLPROPERTIES('DICTIONARY_INCLUDE'='ID,salary')"
    --- End diff --
    
    add space after `,`


>  when table properties is repeated it only set the last one
> -----------------------------------------------------------
>
>                 Key: CARBONDATA-280
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-280
>             Project: CarbonData
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 0.1.1-incubating
>            Reporter: zhangshunyu
>            Assignee: zhangshunyu
>            Priority: Minor
>             Fix For: 0.2.0-incubating
>
>
> when table properties is repeated it only set the last one:
> For example,
> CREATE TABLE IF NOT EXISTS carbontable
> (ID Int, date Timestamp, country String,
> name String, phonetype String, serialname String, salary Int)
> STORED BY 'carbondata'
>      TBLPROPERTIES('DICTIONARY_EXCLUDE'='country','DICTIONARY_INCLUDE'='ID',
>  'DICTIONARY_EXCLUDE'='phonetype', 'DICTIONARY_INCLUDE'='salary')
> only salary is set to DICTIONARY_INCLUDE and only phonetype is set to DICTIONARY_EXCLUDE.



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

Mime
View raw message