1) Yes, the depot is partitioned by series ID
2) I fixed the conditional, thank you
I have some more questions though:
1) Why are there multiple partitions of $$startTimeToSeries?
2) Why can't I just do this?


3) So when I call .allPartition() and then my local select then something like compoundAgg on it, that's just going to loop for all Partitions? Am I understanding that correctly?
4) I guess I'm still not understanding conceptually how partitions are created. Like I have the series depot declared and we hash by series id. And so the PStates also have partitions within them, and this is related to my first question, but I don't get how $$seriesIdToSeries is partitioned correctly just hashing by id, but then $$startTimeToSeries isn't partitioned correct, hashing by start, is it because the depot is hashed by id already?
5) The docs note that allPartition should be used carefully. Given that, is there a better way to try and accomplish what I'm attempting?
I really appreciate the help!