Timo Walther created FLINK-25609:
------------------------------------

             Summary: Avoid creating temporary tables for inline tables
                 Key: FLINK-25609
                 URL: https://issues.apache.org/jira/browse/FLINK-25609
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Timo Walther


Currently, inline tables such as {{fromDataStream}} or 
{{from(TableDescriptor)}} as well as {{toChangelogStream}} or 
{{Table.executeInsert(TableDescriptor)}} create an artifical temporary table 
with object identifier.

This is due to Calcite that forces {{RelBuilder.scan}} to have an object 
identifier.

Instead we should:
- Create an internal {{RelOptTable}} that wraps {{CatalogTable}}
- Various flavors of {{CatalogTable}} can store the {{DataStream}} object or 
information of the {{TableDescriptor.}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to