use of org.apache.flink.table.operations.command.RemoveJarOperation in project flink by apache.
the class SqlToOperationConverterTest method testRemoveJar.
@Test
public void testRemoveJar() {
Arrays.asList("./test.\njar", "file:///path/to/whatever", "../test-jar.jar", "/root/test.jar", "test\\ jar.jar", "oss://path/helloworld.go").forEach(jarPath -> {
RemoveJarOperation operation = (RemoveJarOperation) parser.parse(String.format("REMOVE JAR '%s'", jarPath)).get(0);
assertThat(operation.getPath()).isEqualTo(jarPath);
});
}
Aggregations