Closed ajnavarro closed 5 years ago
Error executing example query:
SELECT repository_id, file_path, uast_extract(uast(blob_content, LANGUAGE(file_path), '//uast:Import/Path'), "Value") AS imports FROM commit_files NATURAL JOIN refs NATURAL JOIN blobs WHERE ref_name = 'HEAD' AND LANGUAGE(file_path) = 'Go' AND ARRAY_LENGTH(imports) > 0;
The problem appears to be when LANGUAGE is used without blob_content second param.
Needs this PR https://github.com/src-d/go-mysql-server/pull/768 merged before applying the fix here.
Error executing example query: