Union pruning in sap hana