Naresh P R created CARBONDATA-79:
------------------------------------

             Summary: Data load fails when complex type column with timestamp 
primitives
                 Key: CARBONDATA-79
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-79
             Project: CarbonData
          Issue Type: Bug
            Reporter: Naresh P R
            Priority: Minor


When complex type column with timestamp direct dictionary is in the middle of 
other complex types, data load is failing.

eg., 
CREATE TABLE testtimestampcarbon(imei string,rat array<string>, sid array<int>, 
end_time array<Timestamp>, probeid array<double>, contact struct<name:string, 
id:string>)STORED BY 'org.apache.carbondata.format'
LOAD DATA local inpath './src/test/resources/timestampdata.csv' INTO TABLE 
testtimestampcarbon options('DELIMITER'=',', 
'QUOTECHAR'='\"','COMPLEX_DELIMITER_LEVEL_1'='$', 
'FILEHEADER'='imei,rat,sid,end_time,probeid,contact')

Load fails with ArrayIndexOutOfBoundException.

sample data
imei001,rat$aaa1,111$111,2015-01-01 13:00:00.000$2015-01-01 
13:00:00.000,16$64,babu$00



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to