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)

Reply via email to