Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
CALCITE-6024 A more efficient implementation of SqlOperatorTable, backed by an immutable multi-map keyed by upper-case operator name
- Closed
- links to