fix regression test failure

pull/896/head
Onder Kalaci 2016-10-21 13:53:46 +03:00
parent ad552564d6
commit de6bce36c9
2 changed files with 7 additions and 8 deletions

View File

@ -1259,17 +1259,13 @@ 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 -- set back to INFO
CREATE VIEW test_view AS SELECT * FROM raw_events_first; SET client_min_messages TO INFO;
DEBUG: StartTransactionCommand DEBUG: StartTransactionCommand
DEBUG: StartTransaction DEBUG: StartTransaction
DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
DEBUG: ProcessUtility DEBUG: ProcessUtility
DEBUG: CommitTransactionCommand -- Views does not work
DEBUG: CommitTransaction CREATE VIEW test_view AS SELECT * FROM raw_events_first;
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; 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 ERROR: cannot plan queries that include both regular and partitioned relations

View File

@ -525,6 +525,9 @@ 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;
-- set back to INFO
SET client_min_messages TO INFO;
-- Views does not work -- Views does not work
CREATE VIEW test_view AS SELECT * FROM raw_events_first; CREATE VIEW test_view AS SELECT * FROM raw_events_first;
INSERT INTO raw_events_second SELECT * FROM test_view; INSERT INTO raw_events_second SELECT * FROM test_view;