calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Liew (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-1680) Optimization for RelDataTypeImpl.getField
Date Wed, 08 Mar 2017 07:34:39 GMT
Kevin Liew created CALCITE-1680:
-----------------------------------

             Summary: Optimization for RelDataTypeImpl.getField
                 Key: CALCITE-1680
                 URL: https://issues.apache.org/jira/browse/CALCITE-1680
             Project: Calcite
          Issue Type: Improvement
            Reporter: Kevin Liew
            Assignee: Julian Hyde
            Priority: Minor


{{RelDataTypeImpl.getField}} is implemented as a loop and is often called in a loop. We can
store a {{HashMap}} from column-name to {{fieldList}} index when instantiating {{RelDataTypeImpl}}
to improve performance. One of the call hierarchies involves {{SqlToRelConverter.convertIdentifier}}
which is called often.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message