> 在 2021年5月8日,08:00,tbud <tejasub1...@gmail.com> 写道:
> 
> Hi Leonard,
> Yes that would be one solution. But why is it necessary to create a
> temporaryView from already created table ?


The name “Table” is quite misleading here,  the table API object Table actually 
represents a relational query (e.g. Table table = 
myTableObject.join(…).where(…).select(…)).
Thus we use createTemporaryView(String path, Table view)  rather than 
registerTable(String name, Table table)
Given a background that registerTable(String name, Table table) is old 
interface and has been deprecated because the reason I explained. This is a 
part of FLIP-64[1]

Hope I make this clear.

Best,
Leonard
[1] 
https://cwiki.apache.org/confluence/display/FLINK/FLIP-64%3A+Support+for+Temporary+Objects+in+Table+module


Reply via email to