Fix for "Top commented issues for each of the top repositories"
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 72/100
研究方向
從 queries.sql 第 671 行附近的聚合開始,並將其與 index.html 第 3685 行附近的對應查詢進行比較。檢查 top-commented-issues 結果,以確認每一列的 stars 值都獲得保留,而不是跨列合併,然後驗證兩個副本產生的輸出相同。
由索引模型根據 Issue 內容生成。
描述
I think sum is wrong here. Each row contains the total number of stars.
---
index.html | 2 +-
queries.sql | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index a1b6343..03af266 100644
--- a/index.html
+++ b/index.html
@@ -3685,7 +3685,7 @@ LIMIT 50</span>
max(comments),
argMax(authors, comments) AS authors,
argMax(number, comments) AS number,
- sum(stars) AS stars
+ any(stars) AS stars
FROM
(
SELECT *
diff --git a/queries.sql b/queries.sql
index 938e358..e7c13a6 100644
--- a/queries.sql
+++ b/queries.sql
@@ -671,7 +671,7 @@ SELECT
max(comments),
argMax(authors, comments) AS authors,
argMax(number, comments) AS number,
- sum(stars) AS stars
+ any(stars) AS stars
FROM
(
SELECT *
--
- 主要語言
- HTML
- 星號
- 180
- 分支
- 19
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ClickHouse/github-explorer 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
ClickHouse/github-explorer#10 · 5 則留言 · 1 個 reaction ·
-
難度 5/5 一週以上 新手友好度 15/100
ClickHouse/github-explorer#8 · 5 則留言 · 1 個 reaction ·
-
難度 1/5 1 小時以內 新手友好度 20/100
ClickHouse/github-explorer#6 · 8 則留言 ·
-
The `body` attribute of `PullRequestReviewComment` event is from PR itself, not from the comment. 未關閉
難度 3/5 1-2 天 新手友好度 25/100
ClickHouse/github-explorer#3 · 1 則留言 ·
查看 ClickHouse/github-explorer 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
bancolombia/sentinel#23 ·
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
AOSSIE-Org/OrgExplorer#245 · 已指派 1 人 ·
-
tech-debt
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 72/100
gordonwatts/test-wsl2-llm#151 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100