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

Streaming REST API Fails to Send Multiple Batches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.19.0
    • 1.19.0
    • Client - HTTP
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: