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

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

Charles Givre created DRILL-7877:
------------------------------------

             Summary: 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
             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)