{"action":"closed","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/2337","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/2337/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/2337/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/2337/events","html_url":"https://github.com/influxdb/influxdb/issues/2337","id":69320881,"number":2337,"title":"panic when tag key isn't double quoted but should be","user":{"login":"dgnorton","id":209347,"avatar_url":"https://avatars.githubusercontent.com/u/209347?v=3","gravatar_id":"","url":"https://api.github.com/users/dgnorton","html_url":"https://github.com/dgnorton","followers_url":"https://api.github.com/users/dgnorton/followers","following_url":"https://api.github.com/users/dgnorton/following{/other_user}","gists_url":"https://api.github.com/users/dgnorton/gists{/gist_id}","starred_url":"https://api.github.com/users/dgnorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgnorton/subscriptions","organizations_url":"https://api.github.com/users/dgnorton/orgs","repos_url":"https://api.github.com/users/dgnorton/repos","events_url":"https://api.github.com/users/dgnorton/events{/privacy}","received_events_url":"https://api.github.com/users/dgnorton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdb/influxdb/labels/review","name":"review","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"dgnorton","id":209347,"avatar_url":"https://avatars.githubusercontent.com/u/209347?v=3","gravatar_id":"","url":"https://api.github.com/users/dgnorton","html_url":"https://github.com/dgnorton","followers_url":"https://api.github.com/users/dgnorton/followers","following_url":"https://api.github.com/users/dgnorton/following{/other_user}","gists_url":"https://api.github.com/users/dgnorton/gists{/gist_id}","starred_url":"https://api.github.com/users/dgnorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgnorton/subscriptions","organizations_url":"https://api.github.com/users/dgnorton/orgs","repos_url":"https://api.github.com/users/dgnorton/repos","events_url":"https://api.github.com/users/dgnorton/events{/privacy}","received_events_url":"https://api.github.com/users/dgnorton/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-04-18T15:46:41Z","updated_at":"2015-04-18T17:17:54Z","closed_at":"2015-04-18T17:17:54Z","body":"The following query causes a panic because the expression is parsed as `data MINUS center = 'foo'` if the user forgets to double quote `\"data-center\"`.  It should return an error when it sees an invalid operation while processing the query.\r\n\r\n```sql\r\nSHOW SERIES WHERE data-center = 'foo'`\r\n```\r\n\r\n```\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x0 pc=0x4db811]\r\n\r\ngoroutine 9631 [running]:\r\ngithub.com/influxdb/influxdb.(*Measurement).idsForExpr(0xc20805c5a0, 0xc208094fc0, 0x0, 0x0, 0x0, 0x422e49, 0x0, 0x0)\r\n\t/home/dgnorton/go/src/github.com/influxdb/influxdb/database.go:371 +0xbb1\r\ngithub.com/influxdb/influxdb.(*Measurement).walkWhereForSeriesIds(0xc20805c5a0, 0x7fe4fed5ff18, 0xc208094fc0, 0xc208095080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/home/dgnorton/go/src/github.com/influxdb/influxdb/database.go:436 +0xd48\r\ngithub.com/influxdb/influxdb.(*Server).executeShowSeriesStatement(0xc208030200, 0xc208034a00, 0xc20803482e, 0x3, 0x0, 0x0)\r\n\t/home/dgnorton/go/src/github.com/influxdb/influxdb/server.go:2549 +0x450\r\ngithub.com/influxdb/influxdb.func·039()\r\n\t/home/dgnorton/go/src/github.com/influxdb/influxdb/server.go:2177 +0x13ad\r\ncreated by github.com/influxdb/influxdb.(*Server).ExecuteQuery\r\n\t/home/dgnorton/go/src/github.com/influxdb/influxdb/server.go:2233 +0x314\r\n```"}}