{"action":"opened","issue":{"url":"https://api.github.com/repos/src-d/gitbase/issues/639","repository_url":"https://api.github.com/repos/src-d/gitbase","labels_url":"https://api.github.com/repos/src-d/gitbase/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/src-d/gitbase/issues/639/comments","events_url":"https://api.github.com/repos/src-d/gitbase/issues/639/events","html_url":"https://github.com/src-d/gitbase/issues/639","id":385652600,"node_id":"MDU6SXNzdWUzODU2NTI2MDA=","number":639,"title":"Invalid expression using uast functions","user":{"login":"erizocosmico","id":1312023,"node_id":"MDQ6VXNlcjEzMTIwMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1312023?v=4","gravatar_id":"","url":"https://api.github.com/users/erizocosmico","html_url":"https://github.com/erizocosmico","followers_url":"https://api.github.com/users/erizocosmico/followers","following_url":"https://api.github.com/users/erizocosmico/following{/other_user}","gists_url":"https://api.github.com/users/erizocosmico/gists{/gist_id}","starred_url":"https://api.github.com/users/erizocosmico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erizocosmico/subscriptions","organizations_url":"https://api.github.com/users/erizocosmico/orgs","repos_url":"https://api.github.com/users/erizocosmico/repos","events_url":"https://api.github.com/users/erizocosmico/events{/privacy}","received_events_url":"https://api.github.com/users/erizocosmico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-29T09:53:28Z","updated_at":"2018-11-29T09:53:28Z","closed_at":null,"author_association":"MEMBER","body":"This query:\r\n\r\n```sql\r\nSELECT files.`file_path`,\r\n`uast_extract`(`uast`(files.`blob_content`, `language`(files.`file_path`, files.`blob_content`), '//uast:Identifier'), 'Name') AS `UDF:uast_extract(UDF:uast(cast(blob_content as binary), UDF:language(file_path, cast(blob_content as binary)), //uast:Identifier), Name)`\r\nFROM files\r\nWHERE (`language`(files.`file_path`, files.`blob_content`) = 'Go')\r\nLIMIT 3\r\n```\r\n\r\nErrors with this:\r\n\r\n```\r\nERROR 1105 (HY000): unknown error: Invalid expression\r\n```\r\n\r\nSyntax is valid and it should be ok."}}
{"actor":{"display_login":"erizocosmico"}}