You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2022/01/11 10:07:00 UTC
[jira] [Created] (FLINK-25609) Avoid creating temporary tables for inline tables
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)