public static boolean hasColumn ( Schema schema , String columnName ) { try { schema . getColumn ( columnName ) ; return true ; } catch ( IllegalArgumentException e ) { return false ; } }
Checks for column .