>From Ian Maxon <[email protected]>: Attention is currently required from: Peeyush Gupta.
Ian Maxon has posted comments on this change by Peeyush Gupta. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20768?usp=email ) Change subject: [ASTERIXDB-3686][API] Incorrect response for failed async request ...................................................................... Patch Set 3: (1 comment) File asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/QueryTranslator.java: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20768/comment/722417b0_024fb9ff?usp=email : PS3, Line 5726: private void handleAsyncJobException(Throwable e, JobId jobId, ResultDelivery resultDelivery) { : if (Objects.equals(JobId.INVALID, jobId)) { : // compilation failed : responsePrinter.addResultPrinter(new StatusPrinter(AbstractQueryApiServlet.ResultStatus.FAILED)); : responsePrinter.addResultPrinter(new ErrorsPrinter(Collections.singletonList(ExecutionError.of(e)))); : try { : responsePrinter.printResults(); : } catch (HyracksDataException ex) { : LOGGER.error("failed to print result", ex); : } : } else { : GlobalConfig.ASTERIX_LOGGER.log(Level.ERROR, : resultDelivery.name() + " job with id " + jobId + " " + "failed", e); : } : } > This printing code was not work properly as the http response etc. was not > set properly. […] cool, yeah a lot of the printing code is way too complicated and spread across everywhere (as i'm sure you've seen in other instances). much better this way. -- To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20768?usp=email To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Change-Id: I9ca684c1a90403ba2813cc858be76be69b8a4a6d Gerrit-Change-Number: 20768 Gerrit-PatchSet: 3 Gerrit-Owner: Peeyush Gupta <[email protected]> Gerrit-Reviewer: Anon. E. Moose #1000171 Gerrit-Reviewer: Ian Maxon <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-Reviewer: Peeyush Gupta <[email protected]> Gerrit-Attention: Peeyush Gupta <[email protected]> Gerrit-Comment-Date: Tue, 13 Jan 2026 17:26:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Peeyush Gupta <[email protected]> Comment-In-Reply-To: Ian Maxon <[email protected]>
