union partition pruner. Need to test it