Trying to figure out whats going on w/ tests- left it in a state so it'll be easy for @particlebanana to look at it
allow missing pk value for groupby
Refactor primary key uniqueness check used when rebuilding the query cache.
REmove log
More helpful error message