Files
doris/regression-test/suites/github_events_p2/sql/nereids_issuesWithTheMostComments7.sql

12 lines
279 B
SQL

SET enable_nereids_planner=TRUE;
SET enable_fallback_to_original_planner=FALSE;
SELECT
repo_name,
count() AS comments,
count(distinct actor_login) AS authors
FROM github_events
WHERE event_type = 'CommitCommentEvent'
GROUP BY repo_name
ORDER BY count() DESC
LIMIT 50