Github user sohami commented on a diff in the pull request: https://github.com/apache/drill/pull/851#discussion_r122855065 --- Diff: exec/java-exec/src/test/java/org/apache/drill/test/rowSet/SchemaBuilder.java --- @@ -96,27 +137,57 @@ public SchemaBuilder withSVMode(SelectionVectorMode svMode) { public SchemaBuilder() { } + public SchemaBuilder(BatchSchema baseSchema) { + for (MaterializedField field : baseSchema) { + columns.add(field); --- End diff -- just call `add` method of `SchemaBuilder` instead of `columns.add(field)`
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---