Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown error: value of type <nil> is not an array #878

Closed
erizocosmico opened this issue Jun 18, 2019 · 2 comments · Fixed by src-d/go-mysql-server#753
Closed

unknown error: value of type <nil> is not an array #878

erizocosmico opened this issue Jun 18, 2019 · 2 comments · Fixed by src-d/go-mysql-server#753
Assignees
Labels
blocked Some other issue is blocking this bug Something isn't working

Comments

@erizocosmico
Copy link
Contributor

erizocosmico commented Jun 18, 2019

This query:

SELECT
            file_path,
              uast_extract(
                uast(
                  blob_content,
                  language(
                    file_path,
                    blob_content
                  ),
                  "//FuncLit"
                ),
                "internalRole"
              )
       FROM files
       WHERE language(file_path, blob_content) = 'Python'
       LIMIT 100

Produces this error:

unknown error: value of type <nil> is not an array
@erizocosmico erizocosmico added the bug Something isn't working label Jun 18, 2019
@erizocosmico erizocosmico self-assigned this Jun 18, 2019
@erizocosmico erizocosmico added the blocked Some other issue is blocking this label Jun 18, 2019
@erizocosmico
Copy link
Contributor Author

src-d/go-mysql-server#753 will fix this

@smola
Copy link
Contributor

smola commented Jun 19, 2019

Not in gitbase yet? @ajnavarro

@smola smola reopened this Jun 19, 2019
@smola smola closed this as completed Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Some other issue is blocking this bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants