Skip to content

Commit

Permalink
Fix export headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 authored and Luke-Sikina committed Apr 11, 2024
1 parent c6d8296 commit 26944fd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ private AsyncResult initializeResult(Query query) throws ClassNotFoundException,
default :
throw new RuntimeException("UNSUPPORTED RESULT TYPE");
}


queryDecorator.setId(query);
AsyncResult result = new AsyncResult(query, p.getHeaderRow(query));
result.status = AsyncResult.Status.PENDING;
result.queuedTime = System.currentTimeMillis();
queryDecorator.setId(query);

result.id = query.getId();
result.processor = p;
results.put(result.id, result);
Expand Down

0 comments on commit 26944fd

Please sign in to comment.