[ 
https://issues.apache.org/jira/browse/BEAM-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Burke updated BEAM-3293:
-------------------------------
    Description: 
Add InputKinds LazyMap and LazyMultiMap that allow map lookup without reading 
everything to memory. They will be accessed through functions such as:

func(k string) int
func(k string) []int

On the execution layer, the new forms would need to be added to 
exec/sideinput.go
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/runtime/exec/sideinput.go
 
The inputs layer, for the actual abstraction using reflection:
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/runtime/exec/input.go
 

The funcx package would need to be updated to detect the new parameter forms 
and so on.
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/funcx/fn.go

If implemented pre-generics, the code generator front end, and backend would 
need to be updated to detect and generate code for efficient no-reflection 
overhead map access functions. 
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/util/shimx/generate.go
 
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/util/starcgenx/starcgenx.go



  was:
Add InputKinds LazyMap and LazyMultiMap that allow map lookup without reading 
everything to memory. They will be accessed through functions such as:

func(k string) int
func(k string) []int


> Add lazy map side input form
> ----------------------------
>
>                 Key: BEAM-3293
>                 URL: https://issues.apache.org/jira/browse/BEAM-3293
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Priority: P3
>
> Add InputKinds LazyMap and LazyMultiMap that allow map lookup without reading 
> everything to memory. They will be accessed through functions such as:
> func(k string) int
> func(k string) []int
> On the execution layer, the new forms would need to be added to 
> exec/sideinput.go
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/runtime/exec/sideinput.go
>  
> The inputs layer, for the actual abstraction using reflection:
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/runtime/exec/input.go
>  
> The funcx package would need to be updated to detect the new parameter forms 
> and so on.
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/core/funcx/fn.go
> If implemented pre-generics, the code generator front end, and backend would 
> need to be updated to detect and generate code for efficient no-reflection 
> overhead map access functions. 
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/util/shimx/generate.go
>  
> https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/util/starcgenx/starcgenx.go



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

Reply via email to