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

[jira] [Resolved] (DRILL-7877) Streaming REST API Fails to Send Multiple Batches

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

Cong Luo resolved DRILL-7877.
-----------------------------
      Reviewer: Paul Rogers
    Resolution: Fixed

> Streaming REST API Fails to Send Multiple Batches
> -------------------------------------------------
>
>                 Key: DRILL-7877
>                 URL: https://issues.apache.org/jira/browse/DRILL-7877
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - HTTP
>    Affects Versions: 1.19.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Blocker
>             Fix For: 1.19.0
>
>
> The new streaming API appeared to have a minor bug for queries containing aggregates or anything complicated. 
>  When queries produced multiple batches, if you attempted to view these results, the first batch would only contain the schema in the first batch and no rows.  The reader would then send additional batches, but no rows.   This can be verified using Drill 1.19 and executing the following query:
> {code:sql}
> SELECT position_title, COUNT(*) as pc 
> FROM cp.`employee.json` 
> GROUP BY position_title
> {code}



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