[
https://issues.apache.org/jira/browse/HUDI-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YangXuan updated HUDI-3813:
---------------------------
Description:
Assume that there are only two fields name and age in table hudi_table.
1、Schema evolution is supported when DDL operations are executed concurrently.
For example, if "alter table hudi_table add columns(gender string after name);
" and "alter table hudi_table9 add columns(score int);" are executed
concurrently, the submitted schema must contain the gender and score columns.
2、Schema evolution is supported when DDL and DML operations are executed
concurrently. For example, if "alter table hudi_table add columns(gender string
after name);" and "insert into hudi_table values("Richard", 18);" are executed
concurrently, the submitted schema must contain the gender column and the data
inserted into hudi_table can also be written.
DDL and DDL concurrency supports the following:
||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|
DDL and DML concurrency supports the following:
||insert into|update|delete|merge into|
|add|Y|Y|Y|Y|
|rename|N|N|Y|only support delete|
|change type|N|N|Y|only support delete|
|change comment|Y|Y|Y|Y|
|drop|N|N|Y|only support delete|
was:
Assume that there are only two fields name and age in table hudi_table.
1、Schema evolution is supported when DDL operations are executed concurrently.
For example, if "alter table hudi_table add columns(gender string after name);
" and "alter table hudi_table9 add columns(score int);" are executed
concurrently, the submitted schema must contain the gender and score columns.
2、Schema evolution is supported when DDL and DML operations are executed
concurrently. For example, if "alter table hudi_table add columns(gender string
after name);" and "insert into hudi_table values("Richard", 18);" are executed
concurrently, the submitted schema must contain the gender column and the data
inserted into hudi_table can also be written.
> Schema Evolution Support DDL And DML Concurrency
> ------------------------------------------------
>
> Key: HUDI-3813
> URL: https://issues.apache.org/jira/browse/HUDI-3813
> Project: Apache Hudi
> Issue Type: Task
> Reporter: YangXuan
> Assignee: YangXuan
> Priority: Major
> Labels: pull-request-available
>
> Assume that there are only two fields name and age in table hudi_table.
> 1、Schema evolution is supported when DDL operations are executed
> concurrently. For example, if "alter table hudi_table add columns(gender
> string after name); " and "alter table hudi_table9 add columns(score int);"
> are executed concurrently, the submitted schema must contain the gender and
> score columns.
> 2、Schema evolution is supported when DDL and DML operations are executed
> concurrently. For example, if "alter table hudi_table add columns(gender
> string after name);" and "insert into hudi_table values("Richard", 18);" are
> executed concurrently, the submitted schema must contain the gender column
> and the data inserted into hudi_table can also be written.
> DDL and DDL concurrency supports the following:
> ||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|
>
> DDL and DML concurrency supports the following:
> ||insert into|update|delete|merge into|
> |add|Y|Y|Y|Y|
> |rename|N|N|Y|only support delete|
> |change type|N|N|Y|only support delete|
> |change comment|Y|Y|Y|Y|
> |drop|N|N|Y|only support delete|
--
This message was sent by Atlassian Jira
(v8.20.1#820001)