[ https://issues.apache.org/jira/browse/FLINK-19746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Walther closed FLINK-19746. -------------------------------- Resolution: Won't Fix I hope it is ok if I close this issue for now. Such questions rather belong to the user mailing list. > Why delete support for "as" function > ------------------------------------ > > Key: FLINK-19746 > URL: https://issues.apache.org/jira/browse/FLINK-19746 > Project: Flink > Issue Type: Bug > Affects Versions: 1.11.0 > Reporter: appleyuchi > Priority: Major > > I know the solution for my following question,so I'm not asking for support > to debug [this code|https://paste.ubuntu.com/p/Mw5tJSmDCs/] > when I use the function "as("x","y","z")." in my code, > two available *preparation code* for "create table": > ||relevant code||running log||Deprecated?|| > |tEnv.registerDataStream("Orders", orderA,"user,product,amount");|ok|YES| > |tEnv.createTemporaryView("Orders", > orderA,$("user,product,amount"));|user,product,amount is not a field of type > PojoType<Order, fields = [amount: Integer, product: String, user: Long]>. > Expected: amount, product, user}|NO| > Question: > why *the support for "as" is REMOVED* when the *newest officially recommended > createTemporaryView* is used? -- This message was sent by Atlassian Jira (v8.3.4#803005)