beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Anderson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1581) JsonIO
Date Sun, 12 Mar 2017 18:43:04 GMT

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

Jesse Anderson commented on BEAM-1581:
--------------------------------------

I think it will have to support several modes:
Line as a self-contained JSON
File as a self-contained JSON

I think the output should support:
arrays [PCollectionLine, PCollectionLine]
key/value lists {PCollectionLine, PCollectionLine}

> JsonIO
> ------
>
>                 Key: BEAM-1581
>                 URL: https://issues.apache.org/jira/browse/BEAM-1581
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-extensions
>            Reporter: Aviem Zur
>            Assignee: Aviem Zur
>
> A new IO (with source and sink) which will read/write Json files.
> Similarly to {{XmlSource}}/{{XmlSink}}, this IO should have a {{JsonSource}}/{{JonSink}}
which are a {{FileBaseSource}}/{{FileBasedSink}}.
> Consider using methods/code (or refactor these) found in {{AsJsons}} and {{ParseJsons}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message