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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Raviteja
HI

I m Getting an error when i run the below query

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

ERROR LOG

18/05/03 18:51:13 ERROR TableNewProcessor$: main Duplicate column found with
name: val
18/05/03 18:51:13 AUDIT TableNewProcessor$:
[nn7.htrunk.com][root][Thread-1]Validation failed for Create/Alter Table
Operation Duplicate column found with name: val
org.apache.spark.sql.AnalysisException: == Parse1 ==

Duplicate dimensions found with name: val
== SQL ==
create table IF NOT EXISTS test.Account(CAP_CHARGE Array<date>,CAP_CR_INT
Array<date>) partitioned by (current_dt DATE) STORED BY 'carbondata'


------------------------------------------------------------------------------------------
The Error i m facing when i have more than one Array<date> type in schema


Is this a bug or am i missing something




--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/