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

ASF GitHub Bot commented on FLINK-1150:
---------------------------------------

GitHub user fhueske opened a pull request:

    https://github.com/apache/incubator-flink/pull/146

    [FLINK-1150] Fix output size estimate of FilterNode.

    FilterNode implicitly sets the estimated output size to unknown (-1) while 
adjusting the cardinality by a factor of 0.5.
    This fix changes the estimated output size proportional to cardinality.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fhueske/incubator-flink fixFilterSizeEstimate

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-flink/pull/146.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #146
    
----
commit 913f1face084b82001df12a1bf21b7c785e0cb25
Author: Fabian Hueske <fhue...@apache.org>
Date:   2014-10-09T13:21:20Z

    [FLINK-1150] Fix size estimate for FilterNode. Data size changes 
proportional to cardinality.

----


> FilterNode set estimated data size to unknown
> ---------------------------------------------
>
>                 Key: FLINK-1150
>                 URL: https://issues.apache.org/jira/browse/FLINK-1150
>             Project: Flink
>          Issue Type: Bug
>          Components: Optimizer
>    Affects Versions: 0.6.1-incubating, 0.7-incubating
>            Reporter: Fabian Hueske
>            Assignee: Fabian Hueske
>
> The default selectivity estimate of a Filter is 0.5.
> During optimization, the FilterNode correctly adapts the estimated 
> cardinality but sets the estimated data size to unknown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to