You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ruan Hang (Jira)" <ji...@apache.org> on 2024/11/20 02:25:00 UTC

[jira] [Resolved] (FLINK-35982) Transform metadata config doesn't work if no projection block was provided

     [ https://issues.apache.org/jira/browse/FLINK-35982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruan Hang resolved FLINK-35982.
-------------------------------
    Resolution: Fixed

> Transform metadata config doesn't work if no projection block was provided
> --------------------------------------------------------------------------
>
>                 Key: FLINK-35982
>                 URL: https://issues.apache.org/jira/browse/FLINK-35982
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>    Affects Versions: cdc-3.2.0
>            Reporter: yux
>            Assignee: yux
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.3.0, cdc-3.2.1
>
>
> One may readjust source table primary keys, partition keys, table options by specifying them in a Transform block like this:
> transform:
>   - projection: '*'
>     primary-keys: order_id, product_name
>     partition-keys: order_id
>     table-options: bucket=1
> However, if projection field is omitted (which fallbacks to default behavior that does not change any source table columns), such configuration will not take effect:
> transform:
>   - primary-keys: order_id, product_name
>     partition-keys: order_id
>     table-options: bucket=1 # These options will not apply



--
This message was sent by Atlassian Jira
(v8.20.10#820010)