Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

taxi, speed_mph broken after import #113

Open
jaffee opened this issue Feb 19, 2019 · 0 comments
Open

taxi, speed_mph broken after import #113

jaffee opened this issue Feb 19, 2019 · 0 comments

Comments

@jaffee
Copy link
Member

jaffee commented Feb 19, 2019

Do the taxi import, then issue the following query and observe the result (edited error message for readability):

curl 10.1.110.70:10101/index/taxi/query -d'TopN(speed_mph)'

curl 10.1.110.70:10101/index/taxi/query -d'TopN(speed_mph)'
{"error":
"executing: retrieving full counts: server error 500 Internal Server Error: 'PANIC: strconv.ParseInt: parsing \"9223372036854775808\": value out of range
goroutine 25657836 [running]:
runtime/debug.Stack(0xcc4b37c000, 0x1f4, 0xc57417be90)
	/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
github.com/pilosa/pilosa/http.(*Handler).ServeHTTP.func1(0xe26100, 0xcc4b37c000, 0xc00020c780)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/http/handler.go:286 +0x91
panic(0xc4ef40, 0xc57417be90)
	/usr/local/go/src/runtime/panic.go:513 +0x1b9
github.com/pilosa/pilosa/pql.(*Query).addNumVal(0xc84ffe8010, 0xc9bdde7cf5, 0x13)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/pql/ast.go:150 +0x758
github.com/pilosa/pilosa/pql.(*PQL).Execute(0xc84ffe8010)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/pql/pql.peg.go:474 +0x2ddc
github.com/pilosa/pilosa/pql.(*parser).Parse(0xc84ffe8000, 0xc84ffe8000, 0x0, 0x0)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/pql/parser.go:62 +0x19f
github.com/pilosa/pilosa.(*API).Query(0xc0002aeab0, 0xe26e40, 0xc57417b8c0, 0xc138a1c740, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/api.go:110 +0x1b7
github.com/pilosa/pilosa/http.(*Handler).handlePostQuery(0xc00020c780, 0xe26100, 0xcc4b37c000, 0xcddb1d8400)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/http/handler.go:458 +0x24b
github.com/pilosa/pilosa/http.(*Handler).handlePostQuery-fm(0xe26100, 0xcc4b37c000, 0xcddb1d8400)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/http/handler.go:254 +0x48
net/http.HandlerFunc.ServeHTTP(0xc0002de4d0, 0xe26100, 0xcc4b37c000, 0xcddb1d8400)
	/usr/local/go/src/net/http/server.go:1964 +0x44
github.com/pilosa/pilosa/http.(*Handler).extractTracing.func1(0xe26100, 0xcc4b37c000, 0xcddb1d8300)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/http/handler.go:231 +0x153
net/http.HandlerFunc.ServeHTTP(0xd20d491fe0, 0xe26100, 0xcc4b37c000, 0xcddb1d8300)
	/usr/local/go/src/net/http/server.go:1964 +0x44
github.com/pilosa/pilosa/http.(*Handler).queryArgValidator.func1(0xe26100, 0xcc4b37c000, 0xcddb1d8300)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/http/handler.go:222 +0xcc
net/http.HandlerFunc.ServeHTTP(0xc990d08000, 0xe26100, 0xcc4b37c000, 0xcddb1d8300)
	/usr/local/go/src/net/http/server.go:1964 +0x44
github.com/pilosa/pilosa/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc000234af0, 0xe26100, 0xcc4b37c000, 0xcddb1d8300)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/vendor/github.com/gorilla/mux/mux.go:162 +0xf1
github.com/pilosa/pilosa/vendor/github.com/gorilla/handlers.(*cors).ServeHTTP(0xc00031e2d0, 0xe26100, 0xcc4b37c000, 0xcddb1d8100)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/vendor/github.com/gorilla/handlers/cors.go:51 +0xa32
github.com/pilosa/pilosa/http.(*Handler).ServeHTTP(0xc00020c780, 0xe26100, 0xcc4b37c000, 0xcddb1d8100)
	/home/ubuntu/go/src/github.com/pilosa/pilosa/http/handler.go:294 +0xde
net/http.serverHandler.ServeHTTP(0xc00020b380, 0xe26100, 0xcc4b37c000, 0xcddb1d8100)
	/usr/local/go/src/net/http/server.go:2741 +0xab
net/http.(*conn).serve(0xc000214000, 0xe26d80, 0xc82f1b3540)
	/usr/local/go/src/net/http/server.go:1847 +0x646
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2851 +0x2f5
'"}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant