- changed status to open
SOQL Query returns "Too many rows" warning for aggregate query
Issue #2572
resolved
Using the SOQL Query window to run an aggregate query such as
SELECT MAX(CreatedDate) FROM Custom_Object__c
results in a warning related to the number of rows being examined, even though only one row is returned:
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Delivered in 2.3.1.6.
- Log in to comment
Thank you for logging. I'm currently traveling with very limited network access, but I'll take a look when I can. My guess is that it's running the query without the aggregate to determine the row count as part of it's validation, and of course by definiton the aggregate will return only one row. Should be a simple fix.