[ 
https://issues.apache.org/jira/browse/FLINK-25187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Walther closed FLINK-25187.
--------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed

Fixed in master: 49acb2723eda8ebd3fc59af19d4bc0abb9f1a318

> Apply padding for BINARY(<precision>)
> -------------------------------------
>
>                 Key: FLINK-25187
>                 URL: https://issues.apache.org/jira/browse/FLINK-25187
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Marios Trivyzas
>            Assignee: Marios Trivyzas
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> When the resulting byte array that is generated for a *CAST(XXX AS 
> BINARY(<precision>)* has *length* < {*}precision{*}, 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>){*}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to