You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by GitBox <gi...@apache.org> on 2020/03/20 19:22:31 UTC

[GitHub] [beam] robertwb commented on a change in pull request #11165: [BEAM-9340] Populate requirements for Java.

robertwb commented on a change in pull request #11165: [BEAM-9340] Populate requirements for Java.
URL: https://github.com/apache/beam/pull/11165#discussion_r395845584
 
 

 ##########
 File path: runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/PTransformTranslation.java
 ##########
 @@ -124,6 +124,15 @@
   public static final String SPLITTABLE_PROCESS_SIZED_ELEMENTS_AND_RESTRICTIONS_URN =
       "beam:transform:sdf_process_sized_element_and_restrictions:v1";
 
+  public static final String REQUIRES_STATEFUL_PROCESSING_URN =
+      getUrn(RunnerApi.StandardRequirements.Enum.REQUIRES_STATEFUL_PROCESSING);
 
 Review comment:
   That's unfortunate, but I see the pattern. Have to be vigilant to prevent bugs. (Unlikely that these'll be used in switch statements, but consistency is good.)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services