File tree 5 files changed +12
-3
lines changed
src/main/java/org/apache/beam/sdk/expansion/service
extensions/sql/expansion-service
5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,7 @@ task runExpansionService (type: JavaExec) {
57
57
classpath = sourceSets. main. runtimeClasspath
58
58
args = [project. findProperty(" constructionService.port" ) ?: " 8097" ]
59
59
}
60
+
61
+ compileJava {
62
+ outputs. upToDateWhen { false }
63
+ }
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public static class ExternalTransformRegistrarLoader
143
143
public Map <String , TransformProvider > knownTransforms () {
144
144
Map <String , TransformProvider > providers = new HashMap <>();
145
145
146
- // First check and register ExternalTransformBuilder in serviceloader style, converting
146
+ // First check and register ExternalTransformBuilder in ServiceLoader style, converting
147
147
// to TransformProvider after validation.
148
148
Map <String , ExternalTransformBuilder > registeredBuilders = loadTransformBuilders ();
149
149
for (Map .Entry <String , ExternalTransformBuilder > registeredBuilder :
Original file line number Diff line number Diff line change @@ -46,3 +46,7 @@ task runExpansionService (type: JavaExec) {
46
46
classpath = sourceSets. main. runtimeClasspath
47
47
args = [project. findProperty(" constructionService.port" ) ?: " 8097" ]
48
48
}
49
+
50
+ shadowJar {
51
+ outputs. upToDateWhen { false }
52
+ }
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ configurations.runtimeClasspath {
35
35
36
36
shadowJar {
37
37
mergeServiceFiles()
38
+ outputs. upToDateWhen { false }
38
39
}
39
40
40
41
description = " Apache Beam :: SDKs :: Java :: IO :: Expansion Service"
Original file line number Diff line number Diff line change @@ -393,12 +393,12 @@ def get_chunk_size(path):
393
393
@staticmethod
394
394
def report_source_lineage (path , level = None ):
395
395
"""
396
- Report source :class:`~apache_beam.metrics.metric.Lineage `.
396
+ Report source :class:`~apache_beam.metrics.metric.LineageLevel `.
397
397
398
398
Args:
399
399
path: string path to be reported.
400
400
level: the level of file path. default to
401
- :class:`~apache_beam.io.filesystem.FileSystem.Lineage `.FILE.
401
+ :class:`~apache_beam.io.filesystem.FileSystem.LineageLevel `.FILE.
402
402
"""
403
403
filesystem = FileSystems .get_filesystem (path )
404
404
filesystem .report_lineage (path , Lineage .sources (), level = level )
You can’t perform that action at this time.
0 commit comments