This isn't a good switching mechanism, since partitionDimension can be null even when we're partitioning on dimensions. (It can be automatically determined)