{"action":"opened","issue":{"url":"https://api.github.com/repos/influxdata/flux/issues/240","repository_url":"https://api.github.com/repos/influxdata/flux","labels_url":"https://api.github.com/repos/influxdata/flux/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/flux/issues/240/comments","events_url":"https://api.github.com/repos/influxdata/flux/issues/240/events","html_url":"https://github.com/influxdata/flux/issues/240","id":377605331,"node_id":"MDU6SXNzdWUzNzc2MDUzMzE=","number":240,"title":"panic: runtime error: index out of range","user":{"login":"russorat","id":4805997,"node_id":"MDQ6VXNlcjQ4MDU5OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/4805997?v=4","gravatar_id":"","url":"https://api.github.com/users/russorat","html_url":"https://github.com/russorat","followers_url":"https://api.github.com/users/russorat/followers","following_url":"https://api.github.com/users/russorat/following{/other_user}","gists_url":"https://api.github.com/users/russorat/gists{/gist_id}","starred_url":"https://api.github.com/users/russorat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russorat/subscriptions","organizations_url":"https://api.github.com/users/russorat/orgs","repos_url":"https://api.github.com/users/russorat/repos","events_url":"https://api.github.com/users/russorat/events{/privacy}","received_events_url":"https://api.github.com/users/russorat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T22:13:28Z","updated_at":"2018-11-05T22:13:28Z","closed_at":null,"author_association":"NONE","body":"The query doesn't make sense but it shouldn't cause a panic.\r\n\r\n```\r\nfrom(bucket: \"telegraf/autogen\")\r\n  |> range(start: dashboardTime)\r\n  |> filter(fn: (r) => r._measurement == \"apache\")\r\n  |> covariance(columns: [\"column_x\", \"column_y\"], pearsonr: false, valueDst: \"_value\")\r\n  |> set(key: \"myKey\", value: \"myValue\")\r\n```\r\n\r\n```\r\npanic: runtime error: index out of range\r\ngoroutine 17895 [running]:\r\nruntime/debug.Stack(0x1c78b60, 0x1c682c0, 0x2903cc0)\r\n\t/usr/local/Cellar/go/1.11.1/libexec/src/runtime/debug/stack.go:24 +0xa7\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.(*poolDispatcher).Start.func1.1(0xc0000a1440)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/dispatcher.go:73 +0xbc\r\npanic(0x1c682c0, 0x2903cc0)\r\n\t/usr/local/Cellar/go/1.11.1/libexec/src/runtime/panic.go:513 +0x1b9\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/functions/transformations.(*CovarianceTransformation).Process(0xc000b44960, 0x215e08f846dbaef9, 0xdd3ebf055b48b1bc, 0x5ac8c58, 0xc0002365a0, 0x103ec01, 0xc0000a0b98)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/functions/transformations/covariance.go:177 +0x5d8\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.processMessage(0x1f5e1a0, 0xc000b44960, 0x1f4cfa0, 0xc0002a9e80, 0xc0012ce768, 0x11eb53d, 0xc0008ca590)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/transport.go:199 +0x1fc\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.(*consecutiveTransport).processMessages(0xc0000c6300, 0xa)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/transport.go:156 +0xa1\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.(*consecutiveTransport).processMessages-fm(0xa)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/transport.go:137 +0x34\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.(*poolDispatcher).run(0xc0000a1440, 0x1f5a460, 0xc000759d10)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/dispatcher.go:126 +0x4b\r\ngithub.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.(*poolDispatcher).Start.func1(0xc0000a1440, 0x1f5a460, 0xc000759d10)\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/dispatcher.go:80 +0x95\r\ncreated by github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute.(*poolDispatcher).Start\r\n\t/Users/rsavage/go/src/github.com/influxdata/influxdb/vendor/github.com/influxdata/flux/execute/dispatcher.go:61 +0x7e\r\n```"}}
{"actor":{"display_login":"russorat"}}