Login  Register

Re: Create Carbon data with complex data type (Array<dates> )

Posted by xuchuanyin on May 03, 2018; 3:37pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Create-Carbon-data-with-complex-data-type-Array-dates-tp48041p48058.html

Yes, it is really a bug. You can raise a jira for this problem.

I tried the following queries and they are OK. Hope it will help you bypass the bug.

```
create table IF NOT EXISTS test.Account(CAP_CHARGE Array<STRING>,CAP_CR_INT
Array<date>) partitioned by (current_dt DATE) STORED BY 'carbondata'
```

```
create table IF NOT EXISTS test.Account(CAP_CHARGE Array<date>,CAP_CR_INT
Array<STRING>) partitioned by (current_dt DATE) STORED BY 'carbondata'
```