ibuenros commented on a change in pull request #2612: Check schema URL: https://github.com/apache/incubator-gobblin/pull/2612#discussion_r277776259
########## File path: gobblin-data-management/src/main/java/org/apache/gobblin/data/management/copy/CopySource.java ########## @@ -357,6 +358,9 @@ public Void call() { WorkUnit workUnit = new WorkUnit(extract); workUnit.addAll(this.state); + if(this.copyableDataset instanceof ConfigBasedDataset) { Review comment: Do you also want to check that the expected schema is not null? ---------------------------------------------------------------- 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