You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/10/01 19:56:00 UTC

[jira] [Commented] (CALCITE-4215) Ensure org.apache.calcite.schema.Statistic uses null vs emptyList appropriately

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

Vladimir Sitnikov commented on CALCITE-4215:
--------------------------------------------

I've committed https://github.com/apache/calcite/compare/8a7e1be96faa1720de828748e5ed819f32dbcdb4..3cc793a574875172af7398596ca9e0fbc21bc867 which makes the Statistic implementation consistent with JavaDoc (unknown => null)

The question regarding `double RelNode#estimateRowCount ` is open though :-/

> Ensure org.apache.calcite.schema.Statistic uses null vs emptyList appropriately
> -------------------------------------------------------------------------------
>
>                 Key: CALCITE-4215
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4215
>             Project: Calcite
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 1.25.0
>            Reporter: Vladimir Sitnikov
>            Assignee: Vladimir Sitnikov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> null: statistic is *not* *known*
> emptyList: statistic is *known*, and the value is *empty* (e.g. no unique keys in the table)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)