panic: runtime error: invalid memory address or nil pointer dereference
when calling some numbering functions over columns containing null value.
#351
Labels
bug
Something isn't working
What happened?
When I tried to call numbering window functions such as
DENSE_RANK
,RANK
, orPERCENT_RANK
over columns containing null values, the emulator panics and gets the following (the container logs):Finally, the emulator crashed with SEGV, and the connection was terminated.
What did you expect to happen?
It should never crash and return the rank (dense rank) values.
How can we reproduce it (as minimally and precisely as possible)?
Preparing a table with null values and running a query with RANK() functions:
Anything else we need to know?
It seems that the error doesn't happen when I use other number functions like
ROW_NUMBER
,CUME_DIST
, orNTILE
.The text was updated successfully, but these errors were encountered: