[jira] [Created] (FLINK-19105) Table API Sample Code Error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19105) Table API Sample Code Error

Shang Yuanchun (Jira)
weizheng created FLINK-19105:
--------------------------------

             Summary: Table API Sample Code Error
                 Key: FLINK-19105
                 URL: https://issues.apache.org/jira/browse/FLINK-19105
             Project: Flink
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 1.11.1
            Reporter: weizheng
             Fix For: 1.12.0


IN

[https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/table/common.html]

Sample code of Emit a Table module is wrong.

The codeĀ 

tableEnv.connect(new FileSystem("/path/to/file"))

should be

tableEnv.connect(new FileSystem().path("/path/to/file"))



--
This message was sent by Atlassian Jira
(v8.3.4#803005)