In https://issues.apache.org/jira/browse/CALCITE-707 <https://issues.apache.org/jira/browse/CALCITE-707> we added methods such as ‘boolean removeTable(String)’ and ‘boolean removeSubSchema(String)’ to CalciteSchema, which is used to implement SchemaPlus via a wrapper SchemaPlusImpl.
So it would make sense to add similar removeTable etc. methods to SchemaPlus. They should be flagged @Experimental. > On Feb 27, 2019, at 5:09 AM, Qi Yu <yuqi4...@gmail.com> wrote: > > Hi, > Currently, SchemeaPlus has many add method like add function, add schema, > if wander why the corresponding remove method are absent. For example, as > we add a schema to the SchemeaPlus, after we have used it, if I want to > remove it, how I can do it? Can any one help to clear this?