You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/11/27 14:44:00 UTC

[jira] [Commented] (DRILL-8360) Add Provided Schema for XML Reader

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

ASF GitHub Bot commented on DRILL-8360:
---------------------------------------

cgivre opened a new pull request, #2710:
URL: https://github.com/apache/drill/pull/2710

   # [DRILL-8360](https://issues.apache.org/jira/browse/DRILL-8360): Add Provided Schema for XML Reader
   
   ## Description
   This PR adds several enhancements to XML functionality:
   
   * Allows for provided schema for XML files
   * Allows for provided schema for XML API requests
   * Allows for XML to be used in post bodies.
   
   This PR deprecates the `xmlDataLevel` in the HTTP plugin in favor of a new `xmlOptions` class which has the data level.  It does not remove the `xmlDataLevel` as that would be a breaking change.
    
   Also to note, at this time, the provided schema functionality only works with scalar data types.  In the future we can add complex type support such as lists and maps.
   
   ## Documentation
   Updated appropriate README files.
   
   ## Testing
   Added various unit tests.




> Add Provided Schema for XML Reader
> ----------------------------------
>
>                 Key: DRILL-8360
>                 URL: https://issues.apache.org/jira/browse/DRILL-8360
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Format - XML
>    Affects Versions: 1.20.2
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The XML reader does not support provisioned schema.  This PR adds that support.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)