beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-3612) Make it easy to generate type-specialized Go SDK reflectx.Funcs
Date Fri, 05 Oct 2018 23:10:01 GMT


ASF GitHub Bot logged work on BEAM-3612:

                Author: ASF GitHub Bot
            Created on: 05/Oct/18 23:09
            Start Date: 05/Oct/18 23:09
    Worklog Time Spent: 10m 
      Work Description: aaltay closed pull request #6596: [BEAM-3612] Add way to query emitter

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/go/pkg/beam/core/runtime/exec/emit.go b/sdks/go/pkg/beam/core/runtime/exec/emit.go
index 9b478219b9d..b26c5ddd6c2 100644
--- a/sdks/go/pkg/beam/core/runtime/exec/emit.go
+++ b/sdks/go/pkg/beam/core/runtime/exec/emit.go
@@ -53,6 +53,12 @@ func RegisterEmitter(t reflect.Type, maker func(ElementProcessor) ReusableEmitte
 	emitters[key] = maker
+// IsEmitterRegistered returns whether an emitter maker has already been registered.
+func IsEmitterRegistered(t reflect.Type) bool {
+	_, exists := emitters[t.String()]
+	return exists
 func makeEmit(t reflect.Type, n ElementProcessor) ReusableEmitter {
 	maker, exists := emitters[t.String()]


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 151915)
    Time Spent: 50m  (was: 40m)

> Make it easy to generate type-specialized Go SDK reflectx.Funcs
> ---------------------------------------------------------------
>                 Key: BEAM-3612
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Assignee: Robert Burke
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h

This message was sent by Atlassian JIRA

View raw message