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

Eugene Kirpichov commented on BEAM-3796:
----------------------------------------

I don't think this is worth doing. FileIO.write is quite concise to use, so I 
don't see a point in adding its entire API surface to XmlIO, and I don't think 
it would set a good example for other file-based IOs. If FileIO.write had 
existed earlier, XmlIO would never even have become an IO, and would just have 
stayed a Sink, as nothing distinguishes it from other file-based IOs except for 
the format of the files it writes.

> Implement TypedWrite extending WriteFilesResult for XmlIO
> ---------------------------------------------------------
>
>                 Key: BEAM-3796
>                 URL: https://issues.apache.org/jira/browse/BEAM-3796
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-ideas
>            Reporter: Ɓukasz Gajowy
>            Assignee: Eugene Kirpichov
>            Priority: Major
>
> I mean similar implementation that is there in TextIO or AvroIO. Users could 
> leverage things like getPerDestinationFilenames() directly from the IO 
> without the need to use FileIO explicitly. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to