summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPavan Deolasee2017-08-25 12:11:01 +0000
committerPavan Deolasee2017-08-25 12:11:01 +0000
commitc02a7a8267eb36ab4f1eccfc5fad0f740c044bb0 (patch)
tree41eed32bd1f83878450f8813c0969fb65b70772e /src/test
parentac9acad61206769c52e29d408788988af2e12fc1 (diff)
Accept regression diff in tablesample test case
It's just an addition of a Remote Subquery Scan node on top of the regular plan.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/tablesample.out17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/test/regress/expected/tablesample.out b/src/test/regress/expected/tablesample.out
index 14ef07ceb1..75e7a7bdef 100644
--- a/src/test/regress/expected/tablesample.out
+++ b/src/test/regress/expected/tablesample.out
@@ -310,13 +310,14 @@ create table parted_sample_1 partition of parted_sample for values in (1);
create table parted_sample_2 partition of parted_sample for values in (2);
explain (costs off)
select * from parted_sample tablesample bernoulli (100);
- QUERY PLAN
--------------------------------------------
- Append
- -> Sample Scan on parted_sample_1
- Sampling: bernoulli ('100'::real)
- -> Sample Scan on parted_sample_2
- Sampling: bernoulli ('100'::real)
-(5 rows)
+ QUERY PLAN
+-----------------------------------------------------
+ Remote Subquery Scan on all (datanode_1,datanode_2)
+ -> Append
+ -> Sample Scan on parted_sample_1
+ Sampling: bernoulli ('100'::real)
+ -> Sample Scan on parted_sample_2
+ Sampling: bernoulli ('100'::real)
+(6 rows)
drop table parted_sample, parted_sample_1, parted_sample_2;