Running the query
SELECT project, test_id, log_time,
connection_spec.client_geolocation.latitude,
connection_spec.client_geolocation.longitude
FROM m_lab.2012_11
GROUP BY project, test_id, log_time,
connection_spec.client_geolocation.latitude,
connection_spec.client_geolocation.longitude
ORDER BY log_time LIMIT 6
succeeds in ~20 seconds
However, adding a WHERE clause to this that should reduce the number of returned rows
SELECT project, test_id, log_time,
connection_spec.client_geolocation.latitude,
connection_spec.client_geolocation.longitude
FROM m_lab.2012_11
WHERE log_time > 0
GROUP BY project, test_id, log_time,
connection_spec.client_geolocation.latitude,
connection_spec.client_geolocation.longitude
ORDER BY log_time LIMIT 6
results in the error 'Response too large to return.'
My expectation is that limiting the rows returned will increase the execution time as more rows need to be scanned, but the response should be the same size. What am I missing?