Re: Why this example does not save anything to file?

2022-07-30 Thread podunk
Thanks David but there's no problem with that (probably ";" is default separator). I can read the file and insert into "Table1" (I said that in my mail). Problem is to save to CSV.     Sent: Saturday, July 30, 2022 at 3:33 PM From: "David Anderson" To: pod...@gmx.com Cc: "user" Subject: Re: W

Re: Why this example does not save anything to file?

2022-07-30 Thread David Anderson
You need to add 'csv.field-delimiter'=';' to the definition of Table1 so that the input from test4.txt can be correctly parsed: tEnv.executeSql("CREATE TABLE Table1 (column_name1 STRING, column_name2 DOUBLE) WITH ('connector.type' = 'filesystem', 'connector.path' = 'file:///C:/temp/test4