Hi,
if you check JavaDocs of the deprecated 'createTemporaryView',
it suggests to use another overloaded method:
<T> void createTemporaryView(String path, DataStream<T> dataStream, Expression... fields);
I suppose it should be then:
tEnv.createTemporaryView("orderA", orderA, $("user,product,amount"));
Best,
Andrey
my code is:
tEnv.createTemporaryView("orderA", orderA, "user,product,amount");
I got the hint:
createTemporaryView is deprecated
Then,what's the newest function to achieve above effect?
Thanks for your help