Skip to content

Commit 1e88336

Browse files
berthougGautier Berthou
authored and
Gautier Berthou
committed
[HOPS-1571] ADENDUM 2 the variable should be added if it is an update
1 parent b0b765e commit 1e88336

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

schema/update-schema_2.8.2.10_to_3.2.0.0.sql

+2
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ ALTER TABLE hdfs_retry_cache_entry ADD (`epoch` bigint(20) NOT NULL DEFAULT 0);
8484
ALTER TABLE hdfs_retry_cache_entry DROP PRIMARY KEY;
8585

8686
ALTER TABLE hdfs_retry_cache_entry ADD PRIMARY KEY (`client_id`,`call_id`,`epoch`) PARTITION BY KEY (`epoch`);
87+
88+
insert into hdfs_variables (id, value) select 39, 0x0000000000000000 where (select count(*) from hdfs_variables)>0;

0 commit comments

Comments
 (0)