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
-- check that using any of these functions with unsupported relations will fail
154
154
create table test_partitioned (a int) partition by range (a);
155
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
156
+
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
155
157
create index test_partitioned_index on test_partitioned(a);
156
158
-- these should all fail
157
159
select pgstattuple('test_partitioned');
158
160
ERROR: "test_partitioned" (partitioned table) is not supported
159
161
select pgstattuple('test_partitioned_index');
160
162
ERROR: "test_partitioned_index" (partitioned index) is not supported
161
163
select pgstattuple_approx('test_partitioned');
162
-
ERROR: "test_partitioned" is not a table, materialized view, or TOAST table
164
+
ERROR: "test_partitioned" is not a table, directory table, materialized view, or TOAST table
163
165
select pg_relpages('test_partitioned');
164
-
ERROR: "test_partitioned" is not a table, index, materialized view, sequence, or TOAST table
166
+
ERROR: "test_partitioned" is not a table, directory table, index, materialized view, sequence, or TOAST table
165
167
select pgstatindex('test_partitioned');
166
168
ERROR: relation "test_partitioned" is not a btree index
167
169
select pgstatginindex('test_partitioned');
@@ -173,9 +175,9 @@ create view test_view as select 1;
173
175
select pgstattuple('test_view');
174
176
ERROR: "test_view" (view) is not supported
175
177
select pgstattuple_approx('test_view');
176
-
ERROR: "test_view" is not a table, materialized view, or TOAST table
178
+
ERROR: "test_view" is not a table, directory table, materialized view, or TOAST table
177
179
select pg_relpages('test_view');
178
-
ERROR: "test_view" is not a table, index, materialized view, sequence, or TOAST table
180
+
ERROR: "test_view" is not a table, directory table, index, materialized view, sequence, or TOAST table
0 commit comments