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

13 lines
389 B
SQL

SET enable_nereids_planner=TRUE;
SET enable_fallback_to_original_planner=FALSE;
SELECT
concat('https://github.com/', repo_name, '/pull/', CAST(number AS STRING)) AS URL,
count(distinct actor_login) AS authors
FROM github_events
WHERE (event_type = 'PullRequestReviewCommentEvent') AND (action = 'created')
GROUP BY
repo_name,
number
ORDER BY authors DESC, URL ASC
LIMIT 50