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 ( ) ) ; } }
Checks the name and schema for known compatibility issues and warns .