You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Cong Luo (Jira)" <ji...@apache.org> on 2021/07/02 10:52:00 UTC

[jira] [Closed] (DRILL-7951) Add Response Metadata Fields to HTTP Storage Plugin

     [ https://issues.apache.org/jira/browse/DRILL-7951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cong Luo closed DRILL-7951.
---------------------------
    Fix Version/s:     (was: Future)
                   1.20.0
         Reviewer: Cong Luo
       Resolution: Fixed

> Add Response Metadata Fields to HTTP Storage Plugin
> ---------------------------------------------------
>
>                 Key: DRILL-7951
>                 URL: https://issues.apache.org/jira/browse/DRILL-7951
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Other
>    Affects Versions: 1.19.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.20.0
>
>
> In many http calls, the response code can contain meaningful information, however these fields are not available unless the call results in an error.  
> This PR adds four implicit metadata fields to the HTTP storage plugin which are:
> * _response_code:  The HTTP response code.  This field is returned as an INT.  
> * _resposne_message:  The response message.
> * _response_protocol:  The response protocol.
> * _response_url:  The actual URL that is sent to the API. 
> As these are implicit fields, they will not appear in star queries.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)