You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Vandana Yadav (JIRA)" <ji...@apache.org> on 2018/02/26 17:16:00 UTC

[jira] [Created] (CARBONDATA-2205) Unable to create a table with char data type with Spark 2.2.1

Vandana Yadav created CARBONDATA-2205:
-----------------------------------------

             Summary: Unable to create a table with char data type with Spark 2.2.1
                 Key: CARBONDATA-2205
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2205
             Project: CarbonData
          Issue Type: Bug
          Components: data-query
    Affects Versions: 1.4.0
            Reporter: Vandana Yadav


Unable to create a table with char data type with Spark 2.2.1

Steps to reproduce:

1) create a table with char data type:

 CREATE TABLE uniqdata_char(id char) partitioned by (name char) stored by 'carbondata';

Expected Result: Table should be created successfully.

Actual Result: 

Error: org.apache.spark.sql.AnalysisException: == Parse1 ==

DataType char is not supported.(line 1, pos 30)

== SQL ==
CREATE TABLE uniqdata_char(id char) partitioned by (name char) stored by 'carbondata'
------------------------------^^^

== Parse2 ==
[1.8] failure: identifier matching regex (?i)DATAMAP expected

CREATE TABLE uniqdata_char(id char) partitioned by (name char) stored by 'carbondata'
 ^;; (state=,code=0)



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