The first variable has a weird name. Probably broke when you found it, but it's supposed to represent the type of the partitioning object right? Maybe partitionValueType and partitionValue for both? Something like that?