[ 
https://issues.apache.org/jira/browse/BEAM-6692?focusedWorklogId=269623&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-269623
 ]

ASF GitHub Bot logged work on BEAM-6692:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jun/19 23:24
            Start Date: 28/Jun/19 23:24
    Worklog Time Spent: 10m 
      Work Description: ibzib commented on pull request #8966: [BEAM-6692] 
portable Spark: reshuffle translation
URL: https://github.com/apache/beam/pull/8966#discussion_r298773844
 
 

 ##########
 File path: 
runners/spark/src/main/java/org/apache/beam/runners/spark/translation/SparkBatchPortablePipelineTranslator.java
 ##########
 @@ -418,4 +442,14 @@ private static String getOutputId(PTransformNode 
transformNode) {
   private static String getExecutableStageIntermediateId(PTransformNode 
transformNode) {
     return transformNode.getId();
   }
+
+  /** Predicate to determine whether a URN is a Spark native transform. */
+  @AutoService(NativeTransforms.IsNativeTransform.class)
+  public static class IsSparkNativeTransform implements 
NativeTransforms.IsNativeTransform {
 
 Review comment:
   I didn't dig into why, but the portable pipeline fuser complains unless we 
mark Reshuffle as a native (or "primitive") transform. 
https://github.com/apache/beam/blob/c565881b3041730f4e1206ed8404e4b0317e5037/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/QueryablePipeline.java#L231-L235
 
----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 269623)
    Time Spent: 40m  (was: 0.5h)

> Spark Translator - RESHUFFLE_URN
> --------------------------------
>
>                 Key: BEAM-6692
>                 URL: https://issues.apache.org/jira/browse/BEAM-6692
>             Project: Beam
>          Issue Type: Task
>          Components: runner-spark
>            Reporter: Ankur Goenka
>            Assignee: Kyle Weaver
>            Priority: Major
>              Labels: portability-spark
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to