This function should be named addPartitionColumn (not plural) since you are adding only one column.