[
https://issues.apache.org/jira/browse/FLINK-41011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-41011:
-----------------------------------
Labels: pull-request-available (was: )
> [pipeline-connector/doris] Auto-created Doris table drops NOT NULL constraint
> of source columns
> -----------------------------------------------------------------------------------------------
>
> Key: FLINK-41011
> URL: https://issues.apache.org/jira/browse/FLINK-41011
> Project: Flink
> Issue Type: Bug
> Components: Flink CDC
> Affects Versions: cdc-3.6.0, cdc-3.7.0
> Reporter: tchivs
> Priority: Major
> Labels: pull-request-available
>
> {{DorisMetadataApplier}} builds the column type string from the CDC column
> type but never checks {{DataType#isNullable()}}, so every column of an
> auto-created Doris table is nullable even when the source column is NOT NULL.
> Suggested fix: append {{NOT NULL}} to the Doris type when the column type is
> not nullable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)