You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "tchivs (Jira)" <ji...@apache.org> on 2026/10/16 02:22:00 UTC

[jira] [Created] (FLINK-41011) [pipeline-connector/doris] Auto-created Doris table drops NOT NULL constraint of source columns

tchivs created FLINK-41011:
------------------------------

             Summary: [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.7.0, cdc-3.6.0
            Reporter: tchivs


{{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)