Hi, Enric. Can you take a look at the following two apis to see if it meets your needs?
- TableEnvironment: void createTemporaryTable(String path, TableDescriptor descriptor); - TableEnvironment: void createTable(String path, TableDescriptor descriptor); With `TableDescriptor`[1], you can use `TableDescriptor.Builder#option(...)` to add the `with` clause attributes. [1] https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/common/#connector-tables -- Best! Xuyang 在 2024-09-06 11:17:00,"Enric Ott" <243816...@qq.com> 写道: Hi,Xuyang: to be clarified,when I use the word dynamic,I just mean adding the with clause attributes to table definition in converting from datastream to table,add the with clause attributes once and only once,in our usage scenarios,we apply datastream apis to unstructured processing,and after that conerting to table to enter general structured processing with table apis and sqls.We only need the capacity of adding with clause attributes,not so dynamic.Any guidance and clues from you would be appreciated. Thanks. ------------------ 原始邮件 ------------------ 发件人: "Xuyang" <xyzhong...@163.com>; 发送时间: 2024年9月5日(星期四) 上午10:07 收件人: "user@flink.apache.org"<user@flink.apache.org>; 主题: Re:flink datastream to table convertion Hi, Enric. Could you elaborate on your scenario? When you refer to "dynamic", are you asking how to determine the actual "with option" at runtime? -- Best! Xuyang 在 2024-09-04 11:30:00,"Enric Ott" <243816...@qq.com> 写道: Hi,Community: Are there any approaches to add with clause to flink table definition in some way of dynamic? Thanks.