An error occurs when data is updated without the where condition.
sumanth43 opened this issue · 0 comments
Software Environment:
-
OpenLooKeng version (source or binary): openLooKeng1.5.0RC3(2021-12-18)
-
OS platform & distribution (eg., Linux Ubuntu 16.04):
-
Java version:
Describe the current behavior
in step 4:Failed to update data without the where condition
Describe the expected behavior
in step 4:Succeeded in updating data without the where condition.
Steps to reproduce the issue
1.1.create table on olk:
CREATE TABLE testorders02(orderkey array(varchar), orderstatus row(big int), lables map(varchar, integer)) WITH (format='orc',transactional=true);
2.insert data:
INSERT INTO testorders02 VALUES (ARRAY ['YOUNG', 'FASION', 'STYLE'], row(111), MAP(ARRAY ['type', 'grand'], ARRAY [1, 2]));
3.query data:
select * from testorders02;
4.update table without where:
update testorders02 set orderkey=ARRAY['UPDATE','UPDATE','UPDATE'];