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

unsupported syntax: <nil> #553

Closed
Closed
@campoy

Description

@campoy

Running this query fails on the latest release:

SELECT LANGUAGE(f.file_path, f.blob_content) AS lang, COUNT(*)  as n
FROM   files AS f
       JOIN commit_files
       JOIN refs
WHERE  ref_name = 'HEAD'
GROUP BY lang

I do not think this query is actually wrong, since simplifying it to this one makes it run successfully:

SELECT LANGUAGE(f.file_path, f.blob_content) AS lang, COUNT(*)  as n
FROM   files AS f
GROUP BY lang

The biggest problem right now is that the error message is this:

Query Failed - unknown error: unsupported syntax: <nil>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions