You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Chetan Bhat (JIRA)" <ji...@apache.org> on 2018/07/20 05:28:00 UTC

[jira] [Created] (CARBONDATA-2764) Create table with duplicate long_string_column is successful, should be validated.

Chetan Bhat created CARBONDATA-2764:
---------------------------------------

             Summary: Create table with duplicate long_string_column is successful, should be validated.
                 Key: CARBONDATA-2764
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2764
             Project: CarbonData
          Issue Type: Bug
          Components: data-query
    Affects Versions: 1.4.1
         Environment: Spark 2.1, 2.2
            Reporter: Chetan Bhat


Steps :

Create table with duplicate long_string_column.

CREATE TABLE local_duplicate(id int, name string, description string,address string, note string) STORED BY 'org.apache.carbondata.format' tblproperties('long_string_columns'='note,note');

 

Actual Output : Create table with duplicate long_string_column is successful, should be validated.

0: jdbc:hive2://10.18.98.101:22550/default> CREATE TABLE local_duplicate(id int, name string, description string,address string, note string) STORED BY 'org.apache.carbondata.format' tblproperties('long_string_columns'='note,note');
+---------+--+
| Result |
+---------+--+
+---------+--+
No rows selected (1.765 seconds)

 

Expected Output : Create table with duplicate long_string_column should be validated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)