rodriguez-facundo commented on issue #23082:
URL: https://github.com/apache/superset/issues/23082#issuecomment-1431303124

   more info
   
   ```sql
   INNER JOIN
     (SELECT country AS country__,
             count(*) AS mme_inner__
      FROM table
      GROUP BY country
      ORDER BY mme_inner__ DESC
      LIMIT 5) AS anon_1 ON country = country__
   ```
   
   that inner query seems to be missing 
   
   ```sql
   WHERE time < 'X' and time > 'Y'
   ```
   
   which results in the top countries being the top countries by count of all 
time


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to