youngoli commented on a change in pull request #11443: [BEAM-9775] Add Go 
support for SDF StandardRequirements.
URL: https://github.com/apache/beam/pull/11443#discussion_r410415958
 
 

 ##########
 File path: sdks/go/pkg/beam/core/runtime/graphx/translate_test.go
 ##########
 @@ -87,29 +89,38 @@ func TestMarshal(t *testing.T) {
                name                     string
                makeGraph                func(t *testing.T, g *graph.Graph)
                edges, transforms, roots int
+               requirements             []string
        }{
                {
                        name: "ParDo",
                        makeGraph: func(t *testing.T, g *graph.Graph) {
-                               addDoFn(t, g, pickFn, g.Root(), 
[]*graph.Node{newIntInput(g)}, []*coder.Coder{intCoder(), intCoder()})
+                               addDoFn(t, g, pickFn, g.Root(), 
[]*graph.Node{newIntInput(g)}, []*coder.Coder{intCoder(), intCoder()}, nil)
                        },
                        edges:      1,
                        transforms: 1,
                        roots:      1,
                }, {
                        name: "ScopedParDo",
                        makeGraph: func(t *testing.T, g *graph.Graph) {
-                               addDoFn(t, g, pickFn, g.NewScope(g.Root(), 
"sub"), []*graph.Node{newIntInput(g)}, []*coder.Coder{intCoder(), intCoder()})
+                               addDoFn(t, g, pickFn, g.NewScope(g.Root(), 
"sub"), []*graph.Node{newIntInput(g)}, []*coder.Coder{intCoder(), intCoder()}, 
nil)
                        },
                        edges:      1,
                        transforms: 2,
                        roots:      1,
+               }, {
+                       name: "SplittableParDo",
 
 Review comment:
   Whoops. That was the plan, but I forgot to actually add the validation. >_<

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to