blob: 0ae8561e99719bf6e78cf22aec69e8dfe0ecf465 [file] [log] [blame]
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
create table acid_uami(i int,
de decimal(5,2) constraint nn1 not null enforced,
vc varchar(128) constraint nn2 not null enforced) clustered by (i) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true');
insert into acid_uami values(1, 1.4, 'first');
UPDATE acid_uami set de=null where i=1;