public void commitDeleteColumn(
      final PartialPath database, final String tableName, final String columnName)
      throws MetadataException {
    final ConfigTableNode node = getTableNode(database, tableName);
    final TsTable table = getTable(database, tableName);
    if (Objects.nonNull(table.getColumnSchema(columnName))) {
      table.removeColumnSchema(columnName);
      node.removePreDeletedColumn(columnName);
    }
  }
This method returns the templateId set on paths if the path set matches or is a prefix of input
path pattern.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java