You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2016/02/11 04:43:18 UTC

[jira] [Updated] (PHOENIX-2678) Replace calcite default RelOptCostFactory

     [ https://issues.apache.org/jira/browse/PHOENIX-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maryann Xue updated PHOENIX-2678:
---------------------------------
    Labels: calcite  (was: )

> Replace calcite default RelOptCostFactory
> -----------------------------------------
>
>                 Key: PHOENIX-2678
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2678
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>              Labels: calcite
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Right now we apply a PHOENIX_FACTOR on the cost calculated from PhoenixRel to prioritize PhoenixRel over EnumerableRel, but this has greatly limited the way we implement costing for PhoenixRel.
>  
> Having a different RelOptCost/RelOptCostFactory can be a solution. We can make PhoenixRel always generate a cost with getRows() always less than that of EnumerableRel while having our own RelOptCost implementation to compare the rest two fields.



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