You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2023/02/15 06:18:00 UTC

[jira] [Updated] (DRILL-8336) HTTP UDFs do not correctly handle results rooted in an array

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

James Turton updated DRILL-8336:
--------------------------------
    Fix Version/s:     (was: 1.21.0)

> HTTP UDFs do not correctly handle results rooted in an array
> ------------------------------------------------------------
>
>                 Key: DRILL-8336
>                 URL: https://issues.apache.org/jira/browse/DRILL-8336
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - HTTP
>    Affects Versions: 1.20.2
>            Reporter: James Turton
>            Priority: Minor
>
> When the HTTP udfs http_get or http_request are used against an endpoint that returns JSON data that is rooted with an array (or line-delimited object sequence) then they return consecutive objects from that array with each invocation until the end is reached, after which the next invocation fails with an error. This can be reproduced by having a web server serve Drill's donuts.json.
> In addition, each invocation of these UDFs leaks a single file descriptor.



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