@Test
public void getNumericColsTest() {

    TableSchema tableSchema = new TableSchema(new String[]{"f0", "f1", "F2", "f3"},
        new TypeInformation[]{Types.INT, Types.LONG, Types.STRING, Types.BOOLEAN});
    Assert.assertArrayEquals(TableUtil.getNumericCols(tableSchema), new String[]{"f0", "f1"});
    Assert.assertArrayEquals(TableUtil.getNumericCols(tableSchema, new String[]{"f0"}), new String[]{"f1"});
    Assert.assertArrayEquals(TableUtil.getNumericCols(tableSchema, new String[]{"f2"}), new String[]{"f0", "f1"});
}