JasonLeeCoding commented on a change in pull request #16028:
URL: https://github.com/apache/flink/pull/16028#discussion_r642774290
##########
File path:
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/SqlClientTest.java
##########
@@ -205,6 +205,17 @@ public void testExecuteSqlFile() throws Exception {
}
}
+ @Test
+ public void testExecuteSqlWithHDFSFile() throws Exception {
+ List<String> statements = Collections.singletonList("HELP;\n");
+ String sqlFilePath = createSqlFile(statements, "test-sql.sql");
+ String[] args = new String[] {"-f", "hdfs:/" + sqlFilePath};
Review comment:
yes, u are rigth just need a path
--
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]