Depending on how you are filtering data, we may use different tables. We may hit an aggregated table for simple filters and raw data for more advanced filters.
Sometimes I'll do an `str_contains($sql, $tableName)` kinda thing to make sure the filter hitting the right table.