Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Explorer] no result for question bba7e18c-b0df-448a-9aa8-dcc1fc04e87c: please tell me , the top commiter per month at kubernetes repo, since 2018. #1581

Open
samzong opened this issue Aug 10, 2023 · 0 comments

Comments

@samzong
Copy link

samzong commented Aug 10, 2023

Hi, I have some problems with the question bba7e18c-b0df-448a-9aa8-dcc1fc04e87c please tell me , the top commiter per month at kubernetes repo, since 2018. (errorType = none):

Generated SQL

SELECT
  DATE_FORMAT(ge.created_at, '%Y-%m') AS t_month,
  gu.login AS top_committer,
  COUNT(*) AS commit_count
FROM
  github_events ge
  INNER JOIN github_users gu ON ge.actor_id = gu.id
WHERE
  ge.repo_name = 'kubernetes/kubernetes'
  AND ge.type = 'PushEvent'
  AND ge.created_at >= '2018-01-01'
GROUP BY
  t_month,
  top_committer
ORDER BY
  t_month,
  commit_count DESC

Chart:

{
  "chartName": "Table",
  "columns": [
    "Month",
    "Top Committer",
    "Commit Count"
  ],
  "title": "Top Committer per Month at Kubernetes Repo since 2018"
}

Result:

// Fields
  [
  {
    "columnType": 253,
    "name": "t_month"
  },
  {
    "columnType": 253,
    "name": "top_committer"
  },
  {
    "columnType": 8,
    "name": "commit_count"
  }
]

// First result (Totally 188 rows)
  {
  "commit_count": 640,
  "t_month": "2018-01",
  "top_committer": "k8s-github-robot"
}

20230810180857

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant