fsk119 commented on a change in pull request #15366:
URL: https://github.com/apache/flink/pull/15366#discussion_r603799945
##########
File path:
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/SqlClientTest.java
##########
@@ -89,6 +97,21 @@ public void before() throws IOException {
CommonTestUtils.setEnv(map);
historyPath = tempFolder.newFile("history").toString();
+
+ // create sql file
+ File sqlFileFolder = tempFolder.newFolder("sql-file");
+ File sqlFile = new File(sqlFileFolder, "test-sql.sql");
+ if (!sqlFile.createNewFile()) {
+ throw new IOException("Can't create testing test-sql.sql file.");
+ }
+ sqlFilePath = sqlFile.getPath();
+
+ List<String> statements = Collections.singletonList("HELP;");
Review comment:
Leave the workto code freeze.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]