Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6270

XmlIO documentation example should return Pcollection of Record Class not String

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.10.0
    • io-java-xml
    • None

    Description

      Currently the example listed for XmlIO.Read located at https://github.com/apache/beam/blob/master/sdks/java/io/xml/src/main/java/org/apache/beam/sdk/io/xml/XmlIO.java (line 88 and also at line 129) returns a PCollection of Strings instead of a PCollection of the record class which is a Jaxb annotated class.

      Attachments

        Issue Links

          Activity

            People

              tsiu Theodore Siu
              tsiu Theodore Siu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m