Difference between filter and partition