In hive 0.14,i have a table with ACID supported transaction.
create table HiveTest
(EmployeeID Int,FirstName String,Designation String,
Salary Int,Department String)
clustered by (department) into 3 buckets
stored as orc TBLPROPERTIES ('transactional'='true');
OK.i can insert data in this table:
from stagingtbl
insert into table HiveTest
select employeeid,firstname,designation,salary,department;
But if i not use buckets with this table:
create table HiveTest
(EmployeeID Int,FirstName String,Designation String,
Salary Int,Department String)
stored as orc TBLPROPERTIES ('transactional'='true');
I will get error when insert data:tables not bucketed.
So we must create a table with buckets in ACID transaction support to insert data?
Can we have any other ways to insert data in a ACID suppported table?