Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4.1
-
None
-
Spark 2.1, 2.2
Description
Steps :
- Create table with partition using long_string column
CREATE TABLE local_no_inverted_index(id int, name string, description string,address string, note string) STORED BY 'org.apache.carbondata.format' tblproperties('no_inverted_index'='note','long_string_columns'='note');
2. Create table with no_inverted_index
CREATE TABLE local1_partition(id int,name string, description string,address string) partitioned by (note string) STORED BY 'org.apache.carbondata.format' tblproperties('long_string_columns'='note');
Actual Output : The Create table with partition and no_inverted_index on long_string column is successful.
0: jdbc:hive2://10.18.98.101:22550/default> CREATE TABLE local_no_inverted_index(id int, name string, description string,address string, note string) STORED BY 'org.apache.carbondata.format' tblproperties('no_inverted_index'='note','long_string_columns'='note');
---------+
Result |
---------+
---------+
No rows selected (2.604 seconds)
0: jdbc:hive2://10.18.98.101:22550/default> CREATE TABLE local1_partition(id int,name string, description string,address string) partitioned by (note string) STORED BY 'org.apache.carbondata.format' tblproperties('long_string_columns'='note');
---------+
Result |
---------+
---------+
No rows selected (1.989 seconds)
Expected Output - The Create table with partition and no_inverted_index on long_string column should be blocked.
Attachments
Issue Links
- is related to
-
CARBONDATA-2420 Support string longer than 32000 characters
- Resolved