File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/main/java/com/datasqrl/flinkrunner Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 37
37
<scope >provided</scope >
38
38
</dependency >
39
39
40
+ <dependency >
41
+ <groupId >org.apache.flink</groupId >
42
+ <artifactId >flink-core</artifactId >
43
+ <version >${flink.version} </version >
44
+ <scope >provided</scope >
45
+ </dependency >
46
+
40
47
<dependency >
41
48
<groupId >org.apache.flink</groupId >
42
49
<artifactId >flink-table-api-java-bridge</artifactId >
Original file line number Diff line number Diff line change 18
18
import javax .annotation .Nullable ;
19
19
import org .apache .flink .api .common .RuntimeExecutionMode ;
20
20
import org .apache .flink .configuration .Configuration ;
21
+ import org .apache .flink .core .fs .FileSystem ;
21
22
import org .apache .flink .table .api .TableResult ;
22
23
23
24
/** Runner class specifically for SQRL test environments. */
@@ -34,6 +35,7 @@ public SqrlRunner(
34
35
}
35
36
36
37
public TableResult run () throws Exception {
38
+ FileSystem .initialize (config , null );
37
39
var sqlExecutor = SqlExecutor .withUdfClassLoader (config , udfPath );
38
40
39
41
return run (() -> sqlExecutor );
You can’t perform that action at this time.
0 commit comments