You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2024/09/09 14:48:00 UTC
[jira] [Created] (FLINK-36241) Table API .plus should support string concatenation
Dawid Wysakowicz created FLINK-36241:
----------------------------------------
Summary: Table API .plus should support string concatenation
Key: FLINK-36241
URL: https://issues.apache.org/jira/browse/FLINK-36241
Project: Flink
Issue Type: Improvement
Components: Table SQL / API
Reporter: Dawid Wysakowicz
Assignee: Dawid Wysakowicz
Fix For: 2.0.0
It should be possible to concatenate strings using `plus`. Moreover, since plus is not very SQL-native for concatenating strings we should also have a fluent `.concat` function.
```
.select(
$("customer_id")
.cast(DataTypes.STRING())
.plus(" customer event arrived in " + TARGET_TABLE2));
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)