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

Yunhong Zheng commented on FLINK-29661:
---------------------------------------

[~martijnvisser] Hi, this is not a bug as we already introduced a new rule in 
table planner to get partition table stats, I will close this jira, Thanks.

> 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)

Reply via email to