Hi guys,

In flink1.9, is there a way to read local json file in Flink SQL like the
reading of csv file?

Now we can read local csv file like the following, replacing of  'csv' to
'json' can not work:
create table source (
first varchar,
id int
) with (
'connector.type' = 'filesystem',
'connector.path' = '/path/to/csv',
'format.type' = 'csv'
)

Best regards,
Anyang

Reply via email to