Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24403 Improve behaviour of CAST
  3. FLINK-24753

Enforce CHAR/VARCHAR precision when outputing to a Sink

    XMLWordPrintableJSON

Details

    • CHAR/VARCHAR lengths are enforced (trimmed/padded) by default now before entering the table sink.

    Description

      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 (i.e. SinkConstraintValidator)

      Attachments

        Issue Links

          Activity

            People

              matriv Marios Trivyzas
              matriv Marios Trivyzas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: