code: public static void checkAndWarn(String namespace, String datasetName, Schema schema) {
      try {
        checkDatasetName(namespace, datasetName);
        checkSchema(schema);
      } catch (IllegalArgumentException e) {
        LOG.warn(e.getMessage());
      } catch (IllegalStateException e) {
        LOG.warn(e.getMessage());
      }
    }
docs: Checks the name and schema for known compatibility issues and warns.
  
  If the column names are not compatible across components, this will warn
  the user.
  
  @param namespace a String namespace
  @param datasetName a String dataset name
  @param schema a {@link Schema}