ihuzenko commented on a change in pull request #1975: DRILL-7576: Fail fast for operator errors URL: https://github.com/apache/drill/pull/1975#discussion_r376942618
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/WriterRecordBatch.java ########## @@ -152,11 +154,18 @@ private void addOutputContainerData() { container.setRecordCount(1); } - protected void setupNewSchema() throws IOException { + protected void setupNewSchema() { try { // update the schema in RecordWriter stats.startSetup(); - recordWriter.updateSchema(incoming); + try { + recordWriter.updateSchema(incoming); + } catch (IOException e) { + // TODO: This is better handled inside updateSchema() Review comment: same question as above ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services