beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-1914) XML IO should comply with PTransform style guide
Date Fri, 07 Apr 2017 22:10:41 GMT
Eugene Kirpichov created BEAM-1914:
--------------------------------------

             Summary: XML IO should comply with PTransform style guide
                 Key: BEAM-1914
                 URL: https://issues.apache.org/jira/browse/BEAM-1914
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Eugene Kirpichov
            Assignee: Davor Bonaci


Currently we have XmlSource and XmlSink in the Java SDK. They violate the PTransform style
guide in several respects:

- They should be grouped into an XmlIO class with read() and write() verbs, like all the other
similar connectors
- The source/sink classes should be made private or package-local
- Should get rid of XmlSink.Bound - XmlSink itself should inherit from FileBasedSink
- Could optionally benefit from AutoValue

See e.g. the PR with BigQuery fixes https://github.com/apache/beam/pull/2149



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

Mime
View raw message