You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Citus version: Citus 13.0.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
Postgres version: PostgreSQL 17.2 (Debian 17.2-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
the bug is found by a revised edition of sqlsmith, so may be weird and hard to reproduce and minimize manually. I will provide the whole log to help reproducing it.
select
ref_0.c42 as c_0,
ref_0.c39 as c_1,
ref_0.pkey as c_2,
ref_0.vkey as c_3,
ref_0.c43 as c_4,
pg_catalog.text_lt((select c24 from t4 order by c24 limit 1 offset 73)
,
(select pg_catalog.max(c41) from t6)
)
as c_5,
(select pg_catalog.stddev_pop(c46) from t7)
as c_6,
(select c24 from t4 order by c24 limit 1 offset 6)
as c_7,
(ref_0.vkey) < (ref_0.pkey) as c_8,
ref_0.c42 as c_9,
ref_0.c41 as c_10
from
t6 as ref_0
where (pg_catalog.gin_cmp_tslexeme(ref_0.c41,
(select c18 from t3 order by c18 limit 1 offset 4)
)) < ((select vkey from t1 order by vkey limit 1 offset 1)
)
order by c_0 desc, c_1 desc, c_2 desc, c_3 asc, c_4 desc,
c_5 desc, c_6 asc, c_7 asc, c_8 desc, c_9 desc, c_10 asc
Excepted result:
result: 11 rows updated
Citus result:
when I use citus to create some distributed or reference table, I got a different result:
the core of the query is function: pg_catalog.gin_cmp_tslexeme, and the result will be same if it was removed. I guess that this function may have some wrongly interaction with citus.
The text was updated successfully, but these errors were encountered:
How to reproduce
Citus version:
Citus 13.0.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
Postgres version:
PostgreSQL 17.2 (Debian 17.2-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
the bug is found by a revised edition of sqlsmith, so may be weird and hard to reproduce and minimize manually. I will provide the whole log to help reproducing it.
init state:
query:
Excepted result:
result:
11 rows updated
Citus result:
when I use citus to create some distributed or reference table, I got a different result:
then the query returns 10 rows:
the core of the query is function: pg_catalog.gin_cmp_tslexeme, and the result will be same if it was removed. I guess that this function may have some wrongly interaction with citus.
The text was updated successfully, but these errors were encountered: