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

Apply padding for BINARY(<precision>)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.15.0
    • None

    Description

      When the resulting byte array that is generated for a CAST(XXX AS BINARY(<precision>) has lengthprecision, then it should be padded with 0 to the right, to end up with a byte array of precision length, similarly to padding with spaces for CHAR(<precision>).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: