IWriter result = values.setWriter();
for (IValue[] rec : records) {
result.insert(createTuple(tupleType, rec));
}
return result.done();
}
private IValue createTuple(Type tupleType, IValue[] rec) {
// do some fixing of empties and value => string
for (int i = 0 ; i < rec.length; i++) {
if (rec[i] == null) {