yux created FLINK-35982:
---------------------------

             Summary: 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
            Reporter: yux


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)

Reply via email to