cgivre commented on a change in pull request #2189:
URL: https://github.com/apache/drill/pull/2189#discussion_r595980302



##########
File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/stream/StreamingHttpConnection.java
##########
@@ -104,11 +104,9 @@ public void outputAvailable(OutputStream out) throws 
IOException {
   public void sendData(RpcOutcomeListener<Ack> listener, QueryDataPackage 
data) {
     VectorContainer batch = data.batch();
     try {
-      if (batchCount == 0) {
-        batchHolder = new BatchHolder(batch);
-        reader = new PushResultSetReaderImpl(batchHolder);
-        startSignal.await();
-      }
+      batchHolder = new BatchHolder(batch);
+      reader = new PushResultSetReaderImpl(batchHolder);
+      startSignal.await();

Review comment:
       @paul-rogers, @vdiravka 
   Any additional thoughts? I'd like to get this committed if possible, as this 
issue is breaking our UI.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to