You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Marios Trivyzas (Jira)" <ji...@apache.org> on 2021/11/03 14:04:00 UTC

[jira] [Created] (FLINK-24753) Enforce CHAR/VARCHAR precision when outputing to a Sink

Marios Trivyzas created FLINK-24753:
---------------------------------------

             Summary: Enforce CHAR/VARCHAR precision when outputing to a Sink
                 Key: FLINK-24753
                 URL: https://issues.apache.org/jira/browse/FLINK-24753
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / Runtime
            Reporter: Marios Trivyzas


When a column is declared with *CHAR/VARCHAR* with a specific precision, i.e. *CHAR(10)* a sink that would require following this precision strictly (like a relational DB) would throw errors if the records received exceed this limit.

 

Add an operator similar to the one *SinkNotNullEnforcer* and possible merge this functionality into one **operator.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)