Added an optional parameter in TablePartitionIterator for column
pruning.