presto-go-client icon indicating copy to clipboard operation
presto-go-client copied to clipboard

Why there is 'index out of range' panic? The query is very simple, and I limit it to 1000. Is there any bug?

Open Cyberpunk314 opened this issue 2 years ago • 2 comments

select user_id
from my_table
where pdate='2022-10-09'
and newuser_in_day = 0 limit 1000

github.com/prestodb/[email protected]/presto/presto.go:767 +0x338

image

Cyberpunk314 avatar Oct 11 '22 08:10 Cyberpunk314

is there an update ?

RoyShnitzel avatar Jan 04 '23 10:01 RoyShnitzel

Hello 👋 I've ran into a similar problem myself

After investigating a bit seems like the bug was introduced in this commit: c3f935ff1cf9c69247d92e1e0b6016764f4bff8d

I opened a PR hoping it might close this issue 😄 #70

hasan-dot avatar Jan 11 '23 08:01 hasan-dot