klesh opened a new issue, #4024:
URL: https://github.com/apache/incubator-devlake/issues/4024

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   from pr #4022, each commits has 500+ files change which is not correct..
   I purged related commit_files and got the following numbers which are closer 
to accurate according to github commit page:
   
![image](https://user-images.githubusercontent.com/61080/209334573-5e1c7f6b-83a3-4993-a656-08ae1edc1d8c.png)
   
![image](https://user-images.githubusercontent.com/61080/209334630-f1f184ec-9d58-4d5b-b3e3-e219da802745.png)
   
![image](https://user-images.githubusercontent.com/61080/209334747-cbe9b532-ef75-486c-9905-6641259471c7.png)
   
   However, the numbers are still off..
   
   
   ### What do you expect to happen
   
   The numbers should match to whatever shows in github-commit-page
   
   ### How to reproduce
   
   collect the repo and observe by the following SQL:
   select cf.commit_sha, count(*) 
   from commit_files cf 
   left join repo_commits rc on rc.commit_sha  = cf.commit_sha 
   where repo_id = 'github:GithubRepo:1:369331408'
   group by cf.commit_sha;
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to