When creating a table, you need to set hoodie.cleaner.policy.failed.writes to LAZY. Otherwise, rollback will be triggered when concurrent submission operations are performed.
DDL Operation |
add |
rename |
change type |
change comment |
drop |
---|---|---|---|---|---|
add |
Y |
Y |
Y |
Y |
Y |
rename |
Y |
Y |
Y |
Y |
Y |
change type |
Y |
Y |
Y |
Y |
Y |
change comment |
Y |
Y |
Y |
Y |
Y |
drop |
Y |
Y |
Y |
Y |
N |
When performing DDL operations on the same column concurrently, pay attention to the following:
DDL Operation |
insert into |
update |
delete |
set/reset |
---|---|---|---|---|
add |
Y |
Y |
Y |
Y |
rename |
N |
N |
Y |
N |
change type |
N |
N |
Y |
N |
change comment |
Y |
Y |
Y |
Y |
drop |
N |
N |
Y |
N |
Exception message "cannot evolution schema implicitly, actions such as rename, delete, and type change were found" is thrown when unsupported DDL or DML operations are performed concurrently.