GitHub user anubhav100 opened a pull request: https://github.com/apache/incubator-carbondata/pull/639
[CARBONDATA-752] solved bug for complex type give exception in spark2.1 using complex type in create table gives me exception spark.sql( s""" CREATE TABLE carbon_table( shortField short, intField int, bigintField long, doubleField double, stringField string, timestampField timestamp, decimalField decimal(18,2), dateField date, charField char(5), floatField float, complexData array<string> ) STORED BY 'CARBONDATA' TBLPROPERTIES('DICTIONARY_INCLUDE'='dateField, charField') """.stripMargin) it gives me exception Caused by: java.lang.RuntimeException: Unsupported data type: ArrayType(StringType,true) at scala.sys.package$.error(package.scala:27) at org.apache.carbondata.spark.util.DataTypeConverterUtil$.convertToCarbonTypeForSpark2(DataTypeConverterUtil.scal You can merge this pull request into a Git repository by running: $ git pull https://github.com/anubhav100/incubator-carbondata CARBONDATA-752 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/639.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #639 ---- commit 4da0d8ab5b0423f554315340f7fa91f3830132ee Author: anubhav100 <anubhav.ta...@knoldus.in> Date: 2017-03-08T11:27:08Z solved bug for complex type give exception in spark2.1 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---