drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Givre (Jira)" <j...@apache.org>
Subject [jira] [Created] (DRILL-7877) Streaming REST API Fails to Send Multiple Batches
Date Sun, 14 Mar 2021 04:49:00 GMT
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)

Mime
View raw message