public static synchronized void invalidateDataConnectorFromCache(String dcName) {
    try {
      IDataConnectorProvider dataConnectorProvider = dataConnectorCache.getIfPresent(dcName);
      if (dataConnectorProvider != null) {
        dataConnectorCache.invalidate(dcName);
      }
    } catch (Exception e) {
      LOG.warn("Exception when removing dataConnectorProvider: {} from cache due to: {}" + dcName, e.getMessage());
    }
  }
After executing Drop or Alter DDL on a dataConnector, we should update cache to clean the dataConnector
to avoid using the invalid dataConnector next time.
@param dcName dataConnector to be cleaned
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/dataconnector/DataConnectorProviderFactory.java