Skip to content

Commit 63ebaed

Browse files
committed
Touch trigger files to test WindowedValueReceiver in runners
1 parent 57a6f14 commit 63ebaed

12 files changed

Lines changed: 12 additions & 6 deletions

.github/trigger_files/beam_PostCommit_Java_DataflowV1.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"modification": 1,
45
"https://github.com/apache/beam/pull/35159": "moving WindowedValue and making an interface"

.github/trigger_files/beam_PostCommit_Java_DataflowV2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"modification": 3,
45
"https://github.com/apache/beam/pull/35159": "moving WindowedValue and making an interface"

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Direct.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"https://github.com/apache/beam/pull/31761": "noting that PR #31761 should run this test",
45
"https://github.com/apache/beam/pull/35159": "moving WindowedValue and making an interface"

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Flink.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"https://github.com/apache/beam/pull/32440": "testing datastream optimizations",
45
"runFor": "#33606",

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Samza.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"https://github.com/apache/beam/pull/31156": "noting that PR #31156 should run this test",
45
"https://github.com/apache/beam/pull/31270": "re-add specialized Samza translation of Redistribute",

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Spark.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"https://github.com/apache/beam/pull/31156": "noting that PR #31156 should run this test",
45
"https://github.com/apache/beam/pull/31798": "noting that PR #31798 should run this test",

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"https://github.com/apache/beam/pull/35177": "Introducing WindowedValueReceiver to runners",
23
"comment": "Modify this file in a trivial way to cause this test suite to run",
34
"https://github.com/apache/beam/pull/31156": "noting that PR #31156 should run this test",
45
"https://github.com/apache/beam/pull/31798": "noting that PR #31798 should run this test",

runners/spark/3/src/main/java/org/apache/beam/runners/spark/structuredstreaming/io/BoundedDatasetFactory.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import org.apache.beam.sdk.io.BoundedSource.BoundedReader;
3838
import org.apache.beam.sdk.options.PipelineOptions;
3939
import org.apache.beam.sdk.values.WindowedValue;
40-
import org.apache.beam.sdk.values.WindowedValues;
4140
import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.AbstractIterator;
4241
import org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.ImmutableSet;
4342
import org.apache.spark.InterruptibleIterator;
@@ -110,7 +109,7 @@ private static class BoundedRDD<T> extends RDD<WindowedValue<T>> {
110109
final Params<T> params;
111110

112111
public BoundedRDD(SparkContext sc, BoundedSource<T> source, Params<T> params) {
113-
super(sc, emptyList(), ClassTag.apply(WindowedValues.class));
112+
super(sc, emptyList(), ClassTag.apply(WindowedValue.class));
114113
this.source = source;
115114
this.params = params;
116115
}

runners/spark/3/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/helpers/EncoderHelpers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
public class EncoderHelpers {
9595
private static final DataType OBJECT_TYPE = new ObjectType(Object.class);
9696
private static final DataType TUPLE2_TYPE = new ObjectType(Tuple2.class);
97-
private static final DataType WINDOWED_VALUE = new ObjectType(WindowedValues.class);
97+
private static final DataType WINDOWED_VALUE = new ObjectType(WindowedValue.class);
9898
private static final DataType KV_TYPE = new ObjectType(KV.class);
9999
private static final DataType MUTABLE_PAIR_TYPE = new ObjectType(MutablePair.class);
100100
private static final DataType LIST_TYPE = new ObjectType(List.class);

runners/spark/src/main/java/org/apache/beam/runners/spark/coders/SparkRunnerKryoRegistrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void registerClasses(Kryo kryo) {
6565

6666
try {
6767
kryo.register(
68-
Class.forName("org.apache.beam.sdk.values.WindowedValue$TimestampedValueInGlobalWindow"));
68+
Class.forName("org.apache.beam.sdk.values.WindowedValues$TimestampedValueInGlobalWindow"));
6969
kryo.register(
7070
Class.forName(
7171
"org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.HashBasedTable$Factory"));

0 commit comments

Comments
 (0)