Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7877

Streaming REST API Fails to Send Multiple Batches

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.19.0
    • Fix Version/s: 1.19.0
    • Component/s: Client - HTTP
    • Labels:
      None

      Description

      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:

      SELECT position_title, COUNT(*) as pc 
      FROM cp.`employee.json` 
      GROUP BY position_title
      

        Attachments

          Activity

            People

            • Assignee:
              cgivre Charles Givre
              Reporter:
              cgivre Charles Givre
              Reviewer:
              Paul Rogers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: