You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shen Zhu (Jira)" <ji...@apache.org> on 2021/11/25 19:45:00 UTC
[jira] [Commented] (FLINK-24419) Casting to a bounded BINARY/VARBINARY doesn't trim to the specified precision
[ 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)