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


With regards,
Apache Git Services

Reply via email to