You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/10/19 08:43:00 UTC

[jira] [Commented] (FLINK-29661) DatabaseCalciteSchema$getTable() cannot get statistics for partition table

    [ https://issues.apache.org/jira/browse/FLINK-29661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620105#comment-17620105 ] 

Martijn Visser commented on FLINK-29661:
----------------------------------------

Does this change when the upgrade to the newer Calcite version has been completed? 

> DatabaseCalciteSchema$getTable() cannot get statistics for partition table
> --------------------------------------------------------------------------
>
>                 Key: FLINK-29661
>                 URL: https://issues.apache.org/jira/browse/FLINK-29661
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>    Affects Versions: 1.17.0
>            Reporter: Yunhong Zheng
>            Priority: Major
>             Fix For: 1.17.0
>
>
> DatabaseCalciteSchema$getTable() cannot get statistics for partition table.  DatabaseCalciteShema$extractTableStats() don't consider the situation that the table is partition table, and it's stats need to be collected by catalog.getPartitionStatistics() and catalog.getPartitionColumnStatistics()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)