You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/08/20 17:07:01 UTC

[jira] [Commented] (BEAM-10253) Improve beam package GoDoc with examples.

    [ https://issues.apache.org/jira/browse/BEAM-10253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181326#comment-17181326 ] 

Beam JIRA Bot commented on BEAM-10253:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been labeled "stale-assigned". If you are still working on the issue, please give an update and remove the label. If you are no longer working on the issue, please unassign so someone else may work on it. In 7 days the issue will be automatically unassigned.

> Improve beam package GoDoc with examples.
> -----------------------------------------
>
>                 Key: BEAM-10253
>                 URL: https://issues.apache.org/jira/browse/BEAM-10253
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Robert Burke
>            Assignee: Jie Fan
>            Priority: P3
>              Labels: stale-assigned
>
> TheĀ  [beam package godoc|https://godoc.org/github.com/apache/beam/sdks/go/pkg/beam?utm_source=backtogodoc] needs some improvements.
> @lostluck wrote some for internal use at Google, but it hasn't yet migrated out. 
> Even without these, godoc provides a few nice functions like [compileable examples|https://blog.golang.org/examples] and [more|https://pkg.go.dev/github.com/fluhus/godoc-tricks?tab=doc] of which we have made light use.
> Given the complexity of the API, we could use more. 
> In particular, calling out the Bundle Lifecycle method names for Structural DoFns, and the method names for Structural CombineFns would be of immense value, as that's not clearly documented.
> Also, examples of how to use GroupByKey and CoGroupByKey and what that means for the subsequent DoFn methods, and how they affect Side Inputs.
> As examples are run during tests, this will also improve testing of various edge cases, to be part of the package. 
> The main complication is that these will require _example.go files since methods cannot be added to types in function scopes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)