[
https://issues.apache.org/jira/browse/FLINK-14656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
godfrey he updated FLINK-14656:
-------------------------------
Description:
currently, blink planner will convert {{CatalogTable}} to Calcite {{Table}},
fetch the catalog statistics and convert to {{TableStats}} in
{{DatabaseCalciteSchema}}. However, only {{ConnectorCatalogTable}} is handle in
{{convertPermanentTable}} method, and
the catalog statistics conversion is only for temporary table which has no any
statistics now. It should be for permanent table.
was:currently, blink planner will convert {{CatalogTable}} to Calcite
{{Table}}, and convert the catalog statistics to `TableStats` in
{{DatabaseCalciteSchema}}. However, the catalog statistics conversion is only
for temporary table which has no any statistics now. It should be for permanent
table.
> blink planner should also fetch catalog statistics for CatalogTableImpl
> -----------------------------------------------------------------------
>
> Key: FLINK-14656
> URL: https://issues.apache.org/jira/browse/FLINK-14656
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.9.0, 1.9.1
> Reporter: godfrey he
> Priority: Major
> Fix For: 1.10.0
>
>
> currently, blink planner will convert {{CatalogTable}} to Calcite {{Table}},
> fetch the catalog statistics and convert to {{TableStats}} in
> {{DatabaseCalciteSchema}}. However, only {{ConnectorCatalogTable}} is handle
> in {{convertPermanentTable}} method, and
> the catalog statistics conversion is only for temporary table which has no
> any statistics now. It should be for permanent table.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)