[ https://issues.apache.org/jira/browse/BEAM-9273?focusedWorklogId=385060&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-385060 ]
ASF GitHub Bot logged work on BEAM-9273: ---------------------------------------- Author: ASF GitHub Bot Created on: 11/Feb/20 10:17 Start Date: 11/Feb/20 10:17 Worklog Time Spent: 10m Work Description: je-ik commented on pull request #10816: [BEAM-9273] Explicitly disable @RequiresTimeSortedInput on unsupported runners URL: https://github.com/apache/beam/pull/10816#discussion_r377544334 ########## File path: runners/core-construction-java/src/test/java/org/apache/beam/runners/core/construction/DoFnFeaturesTest.java ########## @@ -0,0 +1,276 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.beam.runners.core.construction; + +import static org.apache.beam.sdk.testing.SerializableMatchers.equalTo; +import static org.hamcrest.MatcherAssert.assertThat; + +import java.util.List; +import org.apache.beam.sdk.io.range.OffsetRange; +import org.apache.beam.sdk.state.MapState; +import org.apache.beam.sdk.state.SetState; +import org.apache.beam.sdk.state.StateSpec; +import org.apache.beam.sdk.state.StateSpecs; +import org.apache.beam.sdk.state.TimeDomain; +import org.apache.beam.sdk.state.TimerSpec; +import org.apache.beam.sdk.state.TimerSpecs; +import org.apache.beam.sdk.state.ValueState; +import org.apache.beam.sdk.state.WatermarkHoldState; +import org.apache.beam.sdk.transforms.DoFn; +import org.apache.beam.sdk.transforms.splittabledofn.RestrictionTracker; +import org.apache.beam.sdk.transforms.windowing.TimestampCombiner; +import org.apache.beam.sdk.values.KV; +import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.Lists; +import org.junit.Test; + +/** Test suite for {@link DoFnFeatures}. */ +public class DoFnFeaturesTest { Review comment: :+1: ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 385060) Time Spent: 3h 20m (was: 3h 10m) > Explicitly fail pipeline with @RequiresTimeSortedInput with unsupported runner > ------------------------------------------------------------------------------ > > Key: BEAM-9273 > URL: https://issues.apache.org/jira/browse/BEAM-9273 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core > Reporter: Jan Lukavský > Assignee: Jan Lukavský > Priority: Major > Time Spent: 3h 20m > Remaining Estimate: 0h > > Fail pipeline with @RequiresTimeSortedInput annotation in pipeline > translation time when being run with unsupported runner. Currently, > unsupported runners are: > - apex > - portable flink > - gearpump > - dataflow > - jet > - samza > - spark structured streaming > These runners should reject the pipeline. -- This message was sent by Atlassian Jira (v8.3.4#803005)