Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

unable to cast "<repository name>" of type string to int64 #691

Closed
smacker opened this issue Apr 19, 2019 · 0 comments · Fixed by #692
Closed

unable to cast "<repository name>" of type string to int64 #691

smacker opened this issue Apr 19, 2019 · 0 comments · Fixed by #692
Assignees
Labels
bug Something isn't working

Comments

@smacker
Copy link
Contributor

smacker commented Apr 19, 2019

gitbase v0.20.0-beta3

Minimal sql (limits added to make it faster, fails without limits too):

SELECT repository_id,
       COUNT(file_path)
FROM
  (SELECT files.repository_id,
          file_path
   FROM files
   NATURAL JOIN commit_files
   NATURAL JOIN refs
   WHERE ref_name = 'HEAD'
   LIMIT 10) AS expr_qry
GROUP BY repository_id
ORDER BY COUNT(file_path) ASC
LIMIT 1;
@smacker smacker changed the title unable to cast "<repository nane>" of type string to int64 unable to cast "<repository name>" of type string to int64 Apr 22, 2019
@kuba-- kuba-- self-assigned this Apr 23, 2019
@kuba-- kuba-- transferred this issue from src-d/gitbase Apr 23, 2019
@kuba-- kuba-- added the bug Something isn't working label Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants