[
https://issues.apache.org/jira/browse/FLINK-39294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yanquan Lv updated FLINK-39294:
-------------------------------
Description:
Description:
The PR FLINK-38959[postgres] Update split state's table schemas info and infer
schema change event based on pgoutput plugin's relation message (#4316)
introduced a new configuration option for the PostgreSQL CDC connector.
New Configuration Option:
|Option|Type|Default|Description|
|schema.change.enabled|Boolean|false|Whether to enable schema change event
capture. When enabled, the connector will capture schema change events from the
pgoutput plugin's relation messages and update the table schema accordingly.|
What needs to be documented:
1. Add the new `schema.change.enabled` option to the PostgreSQL CDC connector
configuration table in the documentation.
2. Explain the purpose of this option: it allows the connector to capture and
handle DDL changes (e.g., `ALTER TABLE ADD COLUMN`) during incremental reading
phase by leveraging the pgoutput plugin's relation messages.
3. Note that this feature is marked as `@Experimental`.
Related PR:
[https://github.com/apache/flink-cdc/pull/4316]
was:
Description:
The PR FLINK-38959[postgres] Update split state's table schemas info and infer
schema change event based on pgoutput plugin's relation message (#4316)
introduced a new configuration option for the PostgreSQL CDC connector.
{*}{*}New Configuration Option:
|Option|Type|Default|Description|
|--------|------|---------|-------------|
|`schema.change.enabled`|Boolean|`false`|Whether to enable schema change event
capture. When enabled, the connector will capture schema change events from the
pgoutput plugin's relation messages and update the table schema accordingly.|
What needs to be documented:
1. Add the new `schema.change.enabled` option to the PostgreSQL CDC connector
configuration table in the documentation.
2. Explain the purpose of this option: it allows the connector to capture and
handle DDL changes (e.g., `ALTER TABLE ADD COLUMN`) during incremental reading
phase by leveraging the pgoutput plugin's relation messages.
3. Note that this feature is marked as `@Experimental`.
Related PR:
[https://github.com/apache/flink-cdc/pull/4316]
> [DOC] Add documentation for PostgreSQL CDC `schema.change.enabled` option
> -------------------------------------------------------------------------
>
> Key: FLINK-39294
> URL: https://issues.apache.org/jira/browse/FLINK-39294
> Project: Flink
> Issue Type: Improvement
> Components: Flink CDC
> Affects Versions: cdc-3.6.0
> Reporter: Yanquan Lv
> Priority: Major
>
> Description:
> The PR FLINK-38959[postgres] Update split state's table schemas info and
> infer schema change event based on pgoutput plugin's relation message (#4316)
> introduced a new configuration option for the PostgreSQL CDC connector.
> New Configuration Option:
> |Option|Type|Default|Description|
> |schema.change.enabled|Boolean|false|Whether to enable schema change event
> capture. When enabled, the connector will capture schema change events from
> the pgoutput plugin's relation messages and update the table schema
> accordingly.|
> What needs to be documented:
> 1. Add the new `schema.change.enabled` option to the PostgreSQL CDC connector
> configuration table in the documentation.
> 2. Explain the purpose of this option: it allows the connector to capture and
> handle DDL changes (e.g., `ALTER TABLE ADD COLUMN`) during incremental
> reading phase by leveraging the pgoutput plugin's relation messages.
> 3. Note that this feature is marked as `@Experimental`.
> Related PR:
> [https://github.com/apache/flink-cdc/pull/4316]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)