ververica / flink-jdbc-driver

Apache License 2.0
129 stars 61 forks source link

Use new connector properties in README #15

Open fpompermaier opened 3 years ago

fpompermaier commented 3 years ago

The example in the README file use the "legacy" connector properties (e.g. 'connector.type' vs 'connector'). In order to avoid using deprecated properties it would be nice to update those properties to the new ones.

fpompermaier commented 3 years ago

Actually if I use this CREATE TABLE (that use the new connector properties) nothing is returned by the SELECT statement:

CREATE TABLE T (
  a INT,
  b VARCHAR(10)
) WITH (
   'connector' = 'filesystem',
   'path' = 'file:///tmp/test.csv',
   'format' = 'csv'
)

What is wrong here?