I've been learning Flink table/sql api recently. One thing that puzzled me a lot is I have no idea how many and kinds "with options" in DDL . I can't find answers from official website or google. I'm really upset about it. Follow with an example ,when creating source table is "connector.type"="filesystem", but when creating a print table is "connector"="print". "connector.type"="print" is wrong.
my_source_ddl = """
create table mySource (
id int,
temperature float
) with (
'connector.type' = 'filesystem',
'format.type' = 'csv',
'connector.path' = '{}'
)""".format(input_file)
my_sink_ddl = """
create table mySink (
id int,
temperature float
) with (
'connector' = 'print'
)
""".format(output_file)
Why? Where can i find a doc about elaborating and explaining it ? Thx.