flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anyang Hu <huanyang1...@gmail.com>
Subject [flink-1.9] how to read local json file through Flink SQL
Date Sun, 08 Sep 2019 09:40:55 GMT
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,

View raw message