Closed EgorBu closed 4 years ago
Before diving deeper into this, can you try with the latest rc of 0.24.0 and see if this solves your issue?
I will be able to check probably in couple of hours
It works for me if I prefix FunctionGroup
by uast:
like so:
SELECT
files.repository_id,
files.file_path,
UAST(files.blob_content, LANGUAGE(files.file_path, files.blob_content), '//uast:FunctionGroup') as functions
FROM files
NATURAL JOIN commit_files
NATURAL JOIN commits
NATURAL JOIN refs
WHERE
refs.ref_name= 'HEAD'
AND functions IS NOT NULL
AND LANGUAGE(files.file_path,files.blob_content) = 'Java'
LIMIT 10;
Thanks @erizocosmico @m09 @ajnavarro !
Solution is
/FunctionGroup
-> //uast:FunctionGroup
Hello,
I'm getting empty results for UAST unexpectedly.
How gitbase was launched:
Version:
Query:
But it returns empty results. Logs from gitbase: