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

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

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

   # [DRILL-8248](https://issues.apache.org/jira/browse/DRILL-8248): Fix 
http_request for several rows
   
   ## Description
   
   Fixes the limiting of the `http_request` to 1 row. The main issue is in 
creating `jsonLoader` for every row.
   
   ## Documentation
   NA
   
   ## Testing
   Teste manually with Drill Remote debug tool.
   




> Fix http_request for several rows
> ---------------------------------
>
>                 Key: DRILL-8248
>                 URL: https://issues.apache.org/jira/browse/DRILL-8248
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Functions - Drill
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>            Priority: Major
>
> For example the following query should return 2 rows, but `http_request` 
> return one row always.
> {code:java}
> SELECT `task_id`, http_request('devapp_cu./task/:task_id', `task_id`) as 
> `Total`
> FROM(
> SELECT `Id` as `task_id`
> FROM `devapp_cu`.`/list/:list_id/task(custom_fields)`
> WHERE list_id = '180680339')
> LIMIT 2
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to