Category Archives: apache-kudu

Timestamp Primary key Kudu

I am trying to load data into Kudu table through envelope. One of the primary key column is timestamp. DDL : CREATE TABLE BAL ( client_id int bal_id int, effective_time timestamp, prsn_id int, bal_amount double, prsn_name string, PRIMARY KEY (client_id, bal_id, effective_time) ) PARTITION BY HASH(client_id) PARTITIONS 8 STORED AS KUDU;

But It is throwing error Java.lang.illelegalArgumentException

So my question is simple - timestamp column could be part of primary key or not??