Ng Jiunn Jye created CALCITE-616:
------------------------------------

             Summary: JdbcSort not used in plan
                 Key: CALCITE-616
                 URL: https://issues.apache.org/jira/browse/CALCITE-616
             Project: Calcite
          Issue Type: Bug
    Affects Versions: 1.0.0-incubating
            Reporter: Ng Jiunn Jye
            Assignee: Julian Hyde


Problem:
Calcite does not use JdbcSort when executing query with Order By clause over 
JdbcAdapter. 
 
Calcite always identify the plan using EnumerableSort as cheapest plan even 
when JdbcSort.computeSelfCost is being override with a value lower than 
EnumerableSort.computeSelfCost, . 

Discussion on forum for reference:
http://mail-archives.apache.org/mod_mbox/calcite-dev/201503.mbox/%3CCAKc=Bu9Um2D2bvWsdfWjPRaXdb=exq45zpyrf+ur57uto_c...@mail.gmail.com%3E




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

Reply via email to