[
https://issues.apache.org/jira/browse/BEAM-6270?focusedWorklogId=177082&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-177082
]
ASF GitHub Bot logged work on BEAM-6270:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Dec/18 17:07
Start Date: 19/Dec/18 17:07
Worklog Time Spent: 10m
Work Description: theodoresiu opened a new pull request #7320:
[BEAM-6270] Fix documentation for PCollection Type in XmlIO example
URL: https://github.com/apache/beam/pull/7320
**Please** add a meaningful description for your change here
The example provided for XmlIO.read shows a return of PCollection<String>
when it should be PCollection<Record>. Documentation was edited to correctly
reflect the type.
Please let me know if there are any questions or issues
------------------------
Follow this checklist to help us incorporate your contribution quickly and
easily:
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
It will help us expedite review of your Pull Request if you tag someone
(e.g. `@username`) to look at it.
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)
[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
</br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Python_VR_Flink/lastCompletedBuild/)
| --- | --- | ---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 177082)
Time Spent: 10m
Remaining Estimate: 0h
> XmlIO documentation example should return Pcollection of Record Class not
> String
> --------------------------------------------------------------------------------
>
> Key: BEAM-6270
> URL: https://issues.apache.org/jira/browse/BEAM-6270
> Project: Beam
> Issue Type: Bug
> Components: io-java-files
> Reporter: Theodore Siu
> Assignee: Eugene Kirpichov
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)