Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.11.0
-
None
-
None
-
None
Description
I know the solution for my following question,so I'm not asking for support to debug this code
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?