flink-jdbc-driver icon indicating copy to clipboard operation
flink-jdbc-driver copied to clipboard

Use new connector properties in README

Open fpompermaier opened this issue 3 years ago • 1 comments

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 avatar Apr 27 '21 08:04 fpompermaier

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?

fpompermaier avatar Apr 27 '21 15:04 fpompermaier