You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kurt Young (Jira)" <ji...@apache.org> on 2019/11/19 03:27:00 UTC
[jira] [Closed] (FLINK-14789) extends max/min type in ColumnStats
from Number to Comparable
[ https://issues.apache.org/jira/browse/FLINK-14789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt Young closed FLINK-14789.
------------------------------
Resolution: Fixed
fixed in 1.10.0: 7b64ebf56c6141ef9922a2bf94b96f978e51428c
> extends max/min type in ColumnStats from Number to Comparable
> -------------------------------------------------------------
>
> Key: FLINK-14789
> URL: https://issues.apache.org/jira/browse/FLINK-14789
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Reporter: godfrey he
> Assignee: godfrey he
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Many tpc-ds queries have predicates on date, like {{d_date between '1999-02-01' and (cast('1999-02-01' as date) + INTERVAL '60' day)}}, It's very useful to find a better plan if the planner knows the max/min values of date. However, max/min in {{ColumnStats}} only support {{Number}} type currently. This issue aims to extend max/min type from {{Number}} to {{Comparable}}, and then {{Date}}, {{Time}}, {{Timestamp}} even {{String}} could be supported.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)