You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/04/11 14:07:25 UTC

[jira] [Commented] (BEAM-185) XmlSink output file pattern missing "." in extension

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

Jean-Baptiste Onofré commented on BEAM-185:
-------------------------------------------

I guess it doesn't occur with you use XmlSink.writeOf(), right ?

> XmlSink output file pattern missing "." in extension
> ----------------------------------------------------
>
>                 Key: BEAM-185
>                 URL: https://issues.apache.org/jira/browse/BEAM-185
>             Project: Beam
>          Issue Type: Bug
>            Reporter: Scott Wegner
>            Priority: Minor
>
> The XmlSink takes as input a filename prefix and adds the shard name and extension automatically. However, it is missing the "." when adding the extension.
> For an XmlSink configured as:
> {{XmlSink.write().toFilenamePrefix("foobar");}}
> the fileNamePattern is {{foobar-SSSSS-of-NNNNNxml}}. Instead, it should be {{foobar-SSSSS-of-NNNNN.xml}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)