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

mac champion commented on CRUNCH-491:
-------------------------------------

No problem, I ran into the exact same issues while working on CSV input. I 
ended up just making everything configurable that I could: 
https://github.com/apache/crunch/blob/master/crunch-core/src/main/java/org/apache/crunch/io/text/csv/CSVInputFormat.java#L188
And then trying to deal with only characters and strings: 
https://github.com/apache/crunch/blob/master/crunch-core/src/main/java/org/apache/crunch/io/text/csv/CSVLineReader.java#L397

> 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)

Reply via email to