You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/08/06 20:54:12 UTC

[jira] [Created] (OPTIQ-362) Make non-cumulative cost (NonCumulativeCost) a pluggable form of metadata

Julian Hyde created OPTIQ-362:
---------------------------------

             Summary: Make non-cumulative cost (NonCumulativeCost) a pluggable form of metadata
                 Key: OPTIQ-362
                 URL: https://issues.apache.org/jira/browse/OPTIQ-362
             Project: Optiq
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


Non-cumulative cost, the cost of a RelNode not including its children is also known as RelNode.computeSelfCost(RelOptPlanner) and BuiltInMetadata.NonCumulativeCost.

NonCumulativeCost should be included in the default metadata provider. (See how BuiltInMetadata.Selectivity is included via RelMdSelectivity.SOURCE.)

Then people could add a different cost model for the core rel nodes (FilterRel, JoinRel etc.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)