You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ng Jiunn Jye (JIRA)" <ji...@apache.org> on 2015/03/11 23:56:38 UTC

[jira] [Created] (CALCITE-616) JdbcSort not used in plan

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_cHfQ@mail.gmail.com%3E




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