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)