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

Timo Walther closed FLINK-32466.
--------------------------------
    Fix Version/s: 1.18.0
       Resolution: Fixed

Merged to master: 4cf2124d71a8dd0595e40f07c2dbcc4c85883b82

> Invalid input strategy for many functions which allows BINARY strings
> ---------------------------------------------------------------------
>
>                 Key: FLINK-32466
>                 URL: https://issues.apache.org/jira/browse/FLINK-32466
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.18.0
>
>
> "string" in SQL terms covers both character strings and binary strings. The 
> author of CONCAT might not have known this. In any case, the code gen instead 
> of the validator fails when executing:
> {code}
> TableEnvironment t = 
> TableEnvironment.create(EnvironmentSettings.inStreamingMode());
> t.createTemporaryView("t", t.fromValues(lit(new byte[] {97})));
> t.executeSql("SELECT CONCAT(f0, '-magic') FROM t").print();
> {code}
> As future work, we should also allow binary strings.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to