Hi, Nedergaard. IIUC, currently, filesystem sink is not supported to custom the name of the output files, and only custom naming of directories should be supported.
[1] https://github.com/apache/flink/blob/4142c4386a92f1ec5016583f4832f8869782765e/flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/FileSystemTableSink.java#L232 -- Best! Xuyang At 2024-03-20 20:41:11, "Lasse Nedergaard" <lassenedergaardfl...@gmail.com> wrote: >Hi. > >Anyone know if it’s possible to control the file names eg change the uuid file >names and extensions to something else. I know I can control the path but I >would like to be able to set the file name and the extension based on the data >in the stream. So I can’t use any general pre or postfix that are applied to >all files. > >All ideas appreciate > >Med venlig hilsen / Best regards >Lasse Nedergaard