private static String readSQL(String sqlPath) {
        try {
            byte[] array = Files.readAllBytes(Paths.get(sqlPath));
            return new String(array, StandardCharsets.UTF_8);
        } catch (IOException ioe) {
            LOG.error("Can not get the job info !!!", ioe);
            throw new RuntimeException(ioe);
        }
    }
@author tiezhu
@Date 2020/7/8 Wed
Company dtstack
localTest/src/main/java/com/dtstack/flink/sql/localTest/LocalTest.java