[
https://issues.apache.org/jira/browse/FLINK-22948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-22948.
--------------------------------
Fix Version/s: 1.13.2
1.14.0
Resolution: Fixed
Fixed in 1.14.0: e23337aace8f02fb8b940480a4ce3c2f054f323e
Fixed in 1.13.2: bf304e49c4e6ea7b8d73cfb7709e87a2e4c8b52a
> Scala example for toDataStream does not compile
> -----------------------------------------------
>
> Key: FLINK-22948
> URL: https://issues.apache.org/jira/browse/FLINK-22948
> Project: Flink
> Issue Type: Bug
> Components: Documentation, Table SQL / API
> Affects Versions: 1.13.1
> Reporter: David Anderson
> Assignee: Timo Walther
> Priority: Major
> Fix For: 1.14.0, 1.13.2
>
>
> The scala example at
> [https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/dev/table/data_stream_api/#examples-for-todatastream]
> does not compile – {{User.class}} should be {{classOf[User]}}.
> It would also be better to show the table DDL as
> {{tableEnv.executeSql(}}
> {{ """}}
> {{ CREATE TABLE GeneratedTable (}}
> {{ name STRING,}}
> {{ score INT,}}
> {{ event_time TIMESTAMP_LTZ(3),}}
> {{ WATERMARK FOR event_time AS event_time - INTERVAL '10' SECOND}}
> {{ )}}
> {{ WITH ('connector'='datagen')}}
> {{ """}}
> {{)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)