drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cong Luo (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-7877) Streaming REST API Fails to Send Multiple Batches
Date Sun, 28 Mar 2021 03:47:00 GMT

     [ 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)

Mime
View raw message