Maryann Xue created PHOENIX-2678:
------------------------------------
Summary: 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
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)