You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Henning Rohde (JIRA)" <ji...@apache.org> on 2018/04/25 21:44:00 UTC
[jira] [Commented] (BEAM-4172) Make public FileSystem registry
[ https://issues.apache.org/jira/browse/BEAM-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453131#comment-16453131 ]
Henning Rohde commented on BEAM-4172:
-------------------------------------
[~schroederc] Looks like you're already doing the work! Nice. Practical question: can you assign this JIRA to yourself?
> Make public FileSystem registry
> -------------------------------
>
> Key: BEAM-4172
> URL: https://issues.apache.org/jira/browse/BEAM-4172
> Project: Beam
> Issue Type: Improvement
> Components: sdk-go
> Reporter: Cody Schroeder
> Assignee: Henning Rohde
> Priority: Major
> Labels: io
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [https://github.com/apache/beam/blob/5743a37/sdks/go/pkg/beam/io/textio/filesystem.go]
> The current _beam/io/textio_ package includes a useful _FileSystem_ interface and corresponding _RegisterFileSystem_ function. The _textio_ package uses this internally to expose a _Read(beam.Scope, string)_ function that will work for any file path corresponding to a registered FileSystem.
> It would be extremely useful to expose the _FileSystem_ interface outside of just the _textio_ package and add global analogs for each of the _FileSystem_ interface functions using the registry. This would allow for easier implementation of other file reading sources.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)