James Turton created DRILL-8336: ----------------------------------- Summary: 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 Fix For: 1.20.3
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)