[ https://issues.apache.org/jira/browse/CRUNCH-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292429#comment-14292429 ]
mac champion commented on CRUNCH-491: ------------------------------------- I'm glad this input is getting more attention. I know of at least one group of people who need distributed XML parsing. I tried to make a file source recently but I couldn't figure out how to get around a few issues. Specifically, are you handling nested-tag CSV files? I could never think of a good way to intelligently split XML files that might have arbitrarily nested tags, which is something that group really wanted/needed. An example: {code} <record> <name>oneName</name> <record> <name>twoName</name> <record></record> <value>twoValue</value> </record> <value>oneValue</value> </record> {code} Were you able to figure out how to handle scenarios such as this? > Add an Xml File Source > ---------------------- > > Key: CRUNCH-491 > URL: https://issues.apache.org/jira/browse/CRUNCH-491 > Project: Crunch > Issue Type: New Feature > Components: Core > Affects Versions: 0.11.0 > Reporter: Christian Tzolov > Assignee: Christian Tzolov > Priority: Minor > Labels: inputformat, source, xml > Attachments: CRUNCH-491.patch, CRUNCH-491b.patch > > > Large XML documents that are composed of a repetitive XML elements can be > broken into chunks delimited by the start and end tags of those elements. > The XmlSource should process XML files and extract out the XML between the > pre-configured start / end tags. -- This message was sent by Atlassian JIRA (v6.3.4#6332)