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
SET gp_create_table_random_default_distribution=off;
DROPTABLE IF EXISTS foo;
CREATETABLEfoo (a INT, b INT, c CHAR(128)) WITH (appendonly=true) DISTRIBUTED BY (a);
CREATEINDEXfoo_indexON foo(b);
INSERT INTO foo SELECT i as a, 1as b, 'hello world'as c FROM generate_series(1, 10) AS i;
SET optimizer=off;
VACUUM foo;
DELETEFROM foo WHERE a <4;
SELECT relname, reltuples FROM pg_class WHERE relname ='foo_index';
Cloudberry Database version
No response
What happened
the result for the query is
It seems wrong.
What you think should happen instead
The result of
reltuples
probably shouldn't be 0How to reproduce
rerun the query.
Operating System
centos7
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: