Fix a bug related to UnionOperator;
setNeededColumnIDs for shared TableScanOperator;
Add new tests