[ 
https://issues.apache.org/jira/browse/CARBONDATA-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravindra Pesala resolved CARBONDATA-672.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.1-incubating

> Complex data type is not working while fetching it from Database
> ----------------------------------------------------------------
>
>                 Key: CARBONDATA-672
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-672
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 1.0.0-incubating
>         Environment: Spark - 2.1
>            Reporter: Anurag Srivastava
>            Assignee: Rahul Kumar
>             Fix For: 1.0.1-incubating
>
>         Attachments: complex_data_type.png, ct5.csv, log, pass_fetch.png
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> I created a table with an complex data type and then load data into it. Data 
> loaded successfully but when I am trying to fetch data it is giving me error.
> *Create Table :*
> create table ct10(id Int,data array<Int>)stored by 'carbondata';
> *Load Data :*
> LOAD DATA inpath 'hdfs://localhost:54310/ct4.csv' INTO table ct1 
> options('DELIMITER'=',', 'FILEHEADER'='id, 
> data','QUOTECHAR'='"','COMPLEX_DELIMITER_LEVEL_1'='#');
> *Data Query :*
> Select * from ct10;
> *Error :*
> !https://issues.apache.org/jira/secure/attachment/12848539/complex_data_type.png!
> While when we use query *select  id from ct10;*, its working fine.
> !https://issues.apache.org/jira/secure/attachment/12848538/pass_fetch.png!
> I am attaching screen shot, CSV and log with it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to