GitHub user paul-rogers opened a pull request:
https://github.com/apache/drill/pull/1150
DRILL-6210: Enhanced test schema utilities
The result set loader project enhanced the schema builder used in tests to
handle Drill's complex types: maps, unions, lists and repeated lists. The
schema builder previously only handled maps.
This PR describes the addition of just this one part of the result set
loader.
Also adds a run-time schema improvement: functions to create arrays when
testing. Old style:
```
rowSetBuilder.addRow(1, new String[] {"foo", "bar"});
```
New style:
```
rowSetBuilder.addRow(1, strArray"foo", "bar"));
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/paul-rogers/drill DRILL-6210
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1150.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1150
----
commit abae5200a86b3b68bb1f8e2bb85768a1b814df58
Author: Paul Rogers <progers@...>
Date: 2018-03-05T00:14:33Z
DRILL-6210: Enhanced test schema utilities
----
---