private object[] ToResultRow(object[] row)
{
if (resultRowLength == row.Length)
return row;
var result = new object[resultRowLength];
int j = 0;
for (int i = 0; i < row.Length; i++)
{
if (includeInResultRow[i])
result[j++] = row[i];
}
return result;
}