[
https://issues.apache.org/jira/browse/DRILL-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255646#comment-17255646
]
ASF GitHub Bot commented on DRILL-7830:
---------------------------------------
cgivre opened a new pull request #2131:
URL: https://github.com/apache/drill/pull/2131
# [DRILL-7830](https://issues.apache.org/jira/browse/DRILL-7830): Add XML as
Supported Format for HTTP Plugin
## Description
This PR extends the HTTP/REST plugin to accept XML as input. This PR reuses
Drill's existing XML reader.
## Documentation
This PR allows the REST plugin to query REST APIs which return XML data.
The REST plugin currently has an option called `inputType`. The available
options are `xml`, `json`, `csv`.
This PR also adds an additional configuration option of `xmlDataLevel` which
sets the starting nesting level for the XML data. This helps reduce the amount
of unhelpful nesting in the data. You can view the [documentation for the XML
plugin here](https://github.com/apache/drill/tree/master/contrib/format-xml).
## Testing
Added additional unit test.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add XML as Supported Format for HTTP Plugin
> -------------------------------------------
>
> Key: DRILL-7830
> URL: https://issues.apache.org/jira/browse/DRILL-7830
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Text & CSV
> Affects Versions: 1.17.0
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Major
> Fix For: 1.19.0
>
>
> This PR extends the HTTP/REST plugin to accept XML as input. This PR reuses
> Drill's existing XML reader.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)