You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/10/26 00:48:00 UTC

[jira] [Updated] (CALCITE-6024) ListSqlOperatorTable is inefficient

     [ https://issues.apache.org/jira/browse/CALCITE-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-6024:
------------------------------------
    Labels: pull-request-available  (was: )

> ListSqlOperatorTable is inefficient
> -----------------------------------
>
>                 Key: CALCITE-6024
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6024
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: pull-request-available
>
> {{ListSqlOperatorTable}} is inefficient if it contains a large number of operators. It currently examines the operators one by one. {{ReflectiveSqlOperatorTable}} (and its subclass, {{SqlStdOperatorTable}}) builds a map of operators by name (actually two maps, one case-sensitive and one case-insensitive).
> {{ListSqlOperatorTable}} should do the same, at least in its immutable form.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)