[ 
https://issues.apache.org/jira/browse/FLINK-24419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449302#comment-17449302
 ] 

Shen Zhu commented on FLINK-24419:
----------------------------------

Hey [~matriv] , should the expected behavior be something like this?
{*}CastTestSpecBuilder.testCastTo(BINARY(2)){*}{*}.from(STRING(), 
"Apache").resultsIn(new byte[] \{65, 112}){*}

> Casting to a bounded BINARY/VARBINARY doesn't trim to the specified precision
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-24419
>                 URL: https://issues.apache.org/jira/browse/FLINK-24419
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Marios Trivyzas
>            Priority: Major
>
> Currently:
> *CastTestSpecBuilder.testCastTo(BINARY(2))**.from(STRING(), 
> "Apache").resultsIn(new byte[] \{65, 112, 97, 99, 104, 101})*



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

Reply via email to