We should cache this somewhere - column index to sqlType mapping. May be create that mapping on the first invocation transformToTuple.