mirror of https://github.com/citusdata/citus.git
add test for views -- they don't work
parent
3ca181fea8
commit
e996bcffb3
|
@ -1207,3 +1207,17 @@ DEBUG: predicate pruning for shardId 13300006
|
||||||
DEBUG: predicate pruning for shardId 13300007
|
DEBUG: predicate pruning for shardId 13300007
|
||||||
ERROR: cannot perform distributed planning for the given modification
|
ERROR: cannot perform distributed planning for the given modification
|
||||||
DETAIL: Select query cannot be pushed down to the worker.
|
DETAIL: Select query cannot be pushed down to the worker.
|
||||||
|
-- Views does not work
|
||||||
|
CREATE VIEW test_view AS SELECT * FROM raw_events_first;
|
||||||
|
DEBUG: StartTransactionCommand
|
||||||
|
DEBUG: StartTransaction
|
||||||
|
DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
|
||||||
|
DEBUG: ProcessUtility
|
||||||
|
DEBUG: CommitTransactionCommand
|
||||||
|
DEBUG: CommitTransaction
|
||||||
|
DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 1150/1/1 (used), nestlvl: 1, children:
|
||||||
|
INSERT INTO raw_events_second SELECT * FROM test_view;
|
||||||
|
DEBUG: StartTransactionCommand
|
||||||
|
DEBUG: StartTransaction
|
||||||
|
DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
|
||||||
|
ERROR: cannot plan queries that include both regular and partitioned relations
|
||||||
|
|
|
@ -516,3 +516,6 @@ outer_most.id, max(outer_most.value)
|
||||||
ON (f.id != f2.id)) as outer_most
|
ON (f.id != f2.id)) as outer_most
|
||||||
GROUP BY outer_most.id;
|
GROUP BY outer_most.id;
|
||||||
|
|
||||||
|
-- Views does not work
|
||||||
|
CREATE VIEW test_view AS SELECT * FROM raw_events_first;
|
||||||
|
INSERT INTO raw_events_second SELECT * FROM test_view;
|
||||||
|
|
Loading…
Reference in New Issue