Julian Hyde created CALCITE-5153:
------------------------------------
Summary: 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
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)