提交 7c0ddf2d 编写于 作者: X Xin Zhang

Bump GPOPT version to 1.617

Fall back to legacy query optimizer for queries with partition elimination over full outer join queries.

Closes #265
上级 d211f14e
......@@ -22,7 +22,7 @@
</configurations>
<dependencies>
<dependency org="emc" name="optimizer" rev="1.616" conf="osx106_x86->osx106_x86_32;rhel5_x86_64->rhel5_x86_64;suse10_x86_64->suse10_x86_64;suse11_x86_64->suse10_x86_64" />
<dependency org="emc" name="optimizer" rev="1.617" conf="osx106_x86->osx106_x86_32;rhel5_x86_64->rhel5_x86_64;suse10_x86_64->suse10_x86_64;suse11_x86_64->suse10_x86_64" />
<dependency org="emc" name="libgpos" rev="1.133" conf="osx106_x86->osx106_x86_32;rhel5_x86_64->rhel5_x86_64;suse10_x86_64->suse10_x86_64;suse11_x86_64->suse10_x86_64" />
<dependency org="xerces" name="xerces-c" rev="3.1.1-p1" conf="osx106_x86->osx106_x86_32;rhel5_x86_64->rhel5_x86_64;suse10_x86_64->suse10_x86_64;suse11_x86_64->suse10_x86_64" />
<dependency org="OpenSSL" name="openssl" rev="0.9.8zg" conf="osx106_x86->osx105_x86;aix5_ppc_32->aix5_ppc_32;aix5_ppc_64->aix5_ppc_64;hpux_ia64->hpux_ia64;rhel5_x86_32->rhel5_x86_32;rhel5_x86_64->rhel5_x86_64;rhel6_x86_64->rhel6_x86_64;sol10_x86_32->sol10_x86_32;sol10_x86_64->sol10_x86_64;sol10_sparc_32->sol10_sparc_32;sol10_sparc_64->sol10_sparc_64;suse10_x86_64->suse10_x86_64;suse11_x86_64->suse11_x86_64" />
......
-- start_ignore
drop table if exists s1;
NOTICE: table "s1" does not exist, skipping
drop table if exists s2;
NOTICE: table "s2" does not exist, skipping
-- setup two partitioned tables s1 and s2
create table s1 (d1 int, p1 int)
distributed by (d1)
partition by list (p1)
(
values (0),
values (1));
NOTICE: CREATE TABLE will create partition "s1_1_prt_1" for table "s1"
NOTICE: CREATE TABLE will create partition "s1_1_prt_2" for table "s1"
create table s2 (d2 int, p2 int)
distributed by (d2)
partition by list (p2)
(
values (0),
values (1));
NOTICE: CREATE TABLE will create partition "s2_1_prt_1" for table "s2"
NOTICE: CREATE TABLE will create partition "s2_1_prt_2" for table "s2"
-- end_ignore
-- expect GPOPT fall back to legacy query optimizer
-- since we don't support partition elimination through full outer joins
select * from s1 full outer join s2 on s1.d1 = s2.d2 and s1.p1 = s2.p2 where s1.p1 = 1;
d1 | p1 | d2 | p2
----+----+----+----
(0 rows)
-- start_ignore
drop table if exists s1;
drop table if exists s2;
-- end_ignore
-- start_ignore
drop table if exists s1;
drop table if exists s2;
-- setup two partitioned tables s1 and s2
create table s1 (d1 int, p1 int)
distributed by (d1)
partition by list (p1)
(
values (0),
values (1));
create table s2 (d2 int, p2 int)
distributed by (d2)
partition by list (p2)
(
values (0),
values (1));
-- end_ignore
-- expect GPOPT fall back to legacy query optimizer
-- since we don't support partition elimination through full outer joins
select * from s1 full outer join s2 on s1.d1 = s2.d2 and s1.p1 = s2.p2 where s1.p1 = 1;
-- start_ignore
drop table if exists s1;
drop table if exists s2;
-- end_ignore
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册