If the ``raw_crashes`` table is partitioned based on the ``date_processed`` field, don't you want to add a where clause on that field? You can get the crash date from the uuid, for example: https://github.com/mozilla/socorro/blob/master/socorro/external/postgresql/crash.py#L28 and https://github.com/mozilla/socorro/blob/master/socorro/external/postgresql/crash.py#L46