Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5153

Create an immutable version of ListSqlOperatorTable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.31.0
    • 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

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: