You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2022/05/13 18:02:00 UTC
[jira] [Assigned] (CALCITE-5153) Create an immutable version of ListSqlOperatorTable
[ https://issues.apache.org/jira/browse/CALCITE-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde reassigned CALCITE-5153:
------------------------------------
Assignee: Julian Hyde
> Create an immutable version of ListSqlOperatorTable
> ---------------------------------------------------
>
> Key: CALCITE-5153
> URL: https://issues.apache.org/jira/browse/CALCITE-5153
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Priority: Major
>
> Create an immutable version of {{{}class ListSqlOperatorTable{}}}, to be created via {{SqlOperatorTables.of(operatorList)}} or {{{}SqlOperatorTables.of(operator, ...){}}}.
> {{class ListSqlOperatorTable}} still exists but its constructors and {{add(SqlOperator)}} methods are deprecated. We hope that people will create immutable operator tables most of the time.
> Refactor {{MockSqlOperatorTable}} to be immutable. Methods that mutate the table, such as {{addRamp}}, are replaced by methods that return a copy.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)