Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
afe7e610
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
afe7e610
编写于
5月 10, 2019
作者:
B
Bhuvnesh Chaudhary
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Bump ORCA to 3.42.0 and update test cases
上级
e36d53e8
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
43 addition
and
47 deletion
+43
-47
config/orca.m4
config/orca.m4
+2
-2
configure
configure
+2
-2
depends/conanfile_orca.txt
depends/conanfile_orca.txt
+1
-1
gpAux/releng/releng.mk
gpAux/releng/releng.mk
+2
-2
src/test/regress/expected/bfv_statistic_optimizer.out
src/test/regress/expected/bfv_statistic_optimizer.out
+17
-17
src/test/regress/expected/gpdist_legacy_opclasses_optimizer.out
...st/regress/expected/gpdist_legacy_opclasses_optimizer.out
+4
-4
src/test/regress/expected/update_gp_optimizer.out
src/test/regress/expected/update_gp_optimizer.out
+15
-19
未找到文件。
config/orca.m4
浏览文件 @
afe7e610
...
...
@@ -40,10 +40,10 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <string.h>
]],
[
return strncmp("3.4
1
.", GPORCA_VERSION_STRING, 5);
return strncmp("3.4
2
.", GPORCA_VERSION_STRING, 5);
])],
[AC_MSG_RESULT([[ok]])],
[AC_MSG_ERROR([Your ORCA version is expected to be 3.4
1
.XXX])]
[AC_MSG_ERROR([Your ORCA version is expected to be 3.4
2
.XXX])]
)
AC_LANG_POP([C++])
])# PGAC_CHECK_ORCA_VERSION
...
...
configure
浏览文件 @
afe7e610
...
...
@@ -13995,7 +13995,7 @@ int
main ()
{
return strncmp("3.4
1
.", GPORCA_VERSION_STRING, 5);
return strncmp("3.4
2
.", GPORCA_VERSION_STRING, 5);
;
return 0;
...
...
@@ -14005,7 +14005,7 @@ if ac_fn_cxx_try_run "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
$as_echo "ok" >&6; }
else
as_fn_error $? "Your ORCA version is expected to be 3.4
1
.XXX" "$LINENO" 5
as_fn_error $? "Your ORCA version is expected to be 3.4
2
.XXX" "$LINENO" 5
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
...
...
depends/conanfile_orca.txt
浏览文件 @
afe7e610
[requires]
orca/v3.4
1
.0@gpdb/stable
orca/v3.4
2
.0@gpdb/stable
[imports]
include, * -> build/include
...
...
gpAux/releng/releng.mk
浏览文件 @
afe7e610
...
...
@@ -88,9 +88,9 @@ sync_tools: opt_write_test
ifeq
"$(findstring aix,$(BLD_ARCH))" ""
ifeq
"$(findstring sles,$(BLD_ARCH))" ""
LD_LIBRARY_PATH
=
''
wget
--no-check-certificate
-q
-O
- https://github.com/greenplum-db/gporca/archive/v3.4
1
.0.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
LD_LIBRARY_PATH
=
''
wget
--no-check-certificate
-q
-O
- https://github.com/greenplum-db/gporca/archive/v3.4
2
.0.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
else
LD_LIBRARY_PATH
=
''
wget
--no-check-certificate
-q
-O
- https://github.com/greenplum-db/gporca/releases/download/v3.4
1
.0/bin_orca_centos5_release.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
LD_LIBRARY_PATH
=
''
wget
--no-check-certificate
-q
-O
- https://github.com/greenplum-db/gporca/releases/download/v3.4
2
.0/bin_orca_centos5_release.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
endif
endif
...
...
src/test/regress/expected/bfv_statistic_optimizer.out
浏览文件 @
afe7e610
...
...
@@ -400,25 +400,25 @@ ANALYZE test_join_card1;
ANALYZE test_join_card2;
ANALYZE test_join_card3;
EXPLAIN SELECT * FROM test_join_card1 t1, test_join_card2 t2, test_join_card3 t3 WHERE t1.b = t2.b and t3.b = t2.b;
QUERY PLAN
---------------------------------------------------------------------------------------------------------------
Gather Motion 3:1 (slice4; segments: 3) (cost=0.00..129
7.5
8 rows=5999 width=22)
-> Hash Join (cost=0.00..1297.
0
9 rows=2000 width=22)
Hash Cond: ((
test_join_card2.b)::text = (test_join_card3.b)::text
)
-> Hash Join (cost=0.00..86
4.43 rows=2000 width=14
)
Hash Cond: ((test_join_card1.b)::text = (test_join_card
2
.b)::text)
QUERY PLAN
---------------------------------------------------------------------------------------------------------------
---------------------------
Gather Motion 3:1 (slice4; segments: 3) (cost=0.00..129
8.3
8 rows=5999 width=22)
-> Hash Join (cost=0.00..1297.
8
9 rows=2000 width=22)
Hash Cond: ((
(test_join_card1.b)::text = (test_join_card2.b)::text) AND ((test_join_card3.b)::text = (test_join_card2.b)::text)
)
-> Hash Join (cost=0.00..86
5.03 rows=3334 width=18
)
Hash Cond: ((test_join_card1.b)::text = (test_join_card
3
.b)::text)
-> Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..431.48 rows=6667 width=10)
Hash Key:
(test_join_card1.b)::text
Hash Key:
test_join_card1.b
-> Seq Scan on test_join_card1 (cost=0.00..431.15 rows=6667 width=10)
-> Hash (cost=431.
08..431.08 rows=2000 width=4
)
-> Redistribute Motion 3:3 (slice2; segments: 3) (cost=0.00..431.
08 rows=2000 width=4
)
Hash Key: test_join_card
2
.b
-> Seq Scan on test_join_card
2 (cost=0.00..431.04 rows=2000 width=4
)
-> Hash (cost=431.
20..431.20 rows=3334 width=8
)
-> Redistribute Motion 3:3 (slice3; segments: 3) (cost=0.00..431.
20 rows=3334 width=8
)
Hash Key:
(test_join_card3.b)::text
-> Seq Scan on test_join_card
3 (cost=0.00..431.07 rows=3334 width=8
)
Optimizer: Pivotal Optimizer (GPORCA) version 3.
19
.0
-> Hash (cost=431.
20..431.20 rows=3334 width=8
)
-> Redistribute Motion 3:3 (slice2; segments: 3) (cost=0.00..431.
20 rows=3334 width=8
)
Hash Key: test_join_card
3
.b
-> Seq Scan on test_join_card
3 (cost=0.00..431.07 rows=3334 width=8
)
-> Hash (cost=431.
08..431.08 rows=2000 width=4
)
-> Redistribute Motion 3:3 (slice3; segments: 3) (cost=0.00..431.
08 rows=2000 width=4
)
Hash Key:
test_join_card2.b
-> Seq Scan on test_join_card
2 (cost=0.00..431.04 rows=2000 width=4
)
Optimizer: Pivotal Optimizer (GPORCA) version 3.
41
.0
(17 rows)
-- start_ignore
...
...
src/test/regress/expected/gpdist_legacy_opclasses_optimizer.out
浏览文件 @
afe7e610
...
...
@@ -257,15 +257,15 @@ create type colors as enum ('red', 'green', 'blue');
create table legacy_enum(color colors) distributed by(color cdbhash_enum_ops);
insert into legacy_enum values ('red'), ('green'), ('blue');
explain (costs off) select * from legacy_enum a inner join legacy_enum b on a.color = b.color;
QUERY PLAN
--------------------------------------------------------------
QUERY PLAN
--------------------------------------------------------------
----------------------
Gather Motion 3:1 (slice1; segments: 3)
-> Hash Join
Hash Cond: (
legacy_enum.color = legacy_enum_1.color
)
Hash Cond: (
(legacy_enum.color)::anyenum = (legacy_enum_1.color)::anyenum
)
-> Seq Scan on legacy_enum
-> Hash
-> Seq Scan on legacy_enum legacy_enum_1
Optimizer: Pivotal Optimizer (GPORCA) version 3.
9
.0
Optimizer: Pivotal Optimizer (GPORCA) version 3.
41
.0
(7 rows)
select * from legacy_enum a inner join legacy_enum b on a.color = b.color;
...
...
src/test/regress/expected/update_gp_optimizer.out
浏览文件 @
afe7e610
...
...
@@ -123,32 +123,29 @@ EXPLAIN (COSTS OFF) UPDATE keo1 SET user_vie_act_cntr_marg_cum = 234.682 FROM
(SELECT min (keo4.keo_para_budget_date) FROM keo4)))
) t1
WHERE t1.user_vie_project_code_pk = keo1.user_vie_project_code_pk;
QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------
QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update
-> Result
-> Explicit Redistribute Motion 3:3 (slice
8
; segments: 3)
-> Explicit Redistribute Motion 3:3 (slice
7
; segments: 3)
-> Split
-> Result
-> Hash Join
Hash Cond: ((keo1
.user_vie_project_code_pk)::text = (keo1_1.user_vie_project_code
_pk)::text)
->
Redistribute Motion 3:3 (slice1; segments: 3)
Hash
Key: keo1.user_vie_project_code_pk
Hash Cond: ((keo1
_1.user_vie_project_code_pk)::text = (keo2.projects
_pk)::text)
->
Hash Join
Hash
Cond: ((keo1.user_vie_project_code_pk)::text = (keo1_1.user_vie_project_code_pk)::text)
-> Seq Scan on keo1
-> Hash
-> Hash Join
Hash Cond: ((keo1_1.user_vie_project_code_pk)::text = (keo2.projects_pk)::text)
-> Redistribute Motion 1:3 (slice6; segments: 1)
Hash Key: keo1_1.user_vie_project_code_pk
-> Hash
-> Broadcast Motion 1:3 (slice5; segments: 1)
-> Hash Join
Hash Cond: ((keo1_1.user_vie_fiscal_year_period_sk)::text = (max((keo3.sky_per)::text)))
-> Gather Motion 3:1 (slice
2
; segments: 3)
-> Gather Motion 3:1 (slice
1
; segments: 3)
-> Seq Scan on keo1 keo1_1
-> Hash
-> Aggregate
-> Hash Join
Hash Cond: ((keo3.bky_per)::text = (keo4.keo_para_required_period)::text)
-> Gather Motion 3:1 (slice
3
; segments: 3)
-> Gather Motion 3:1 (slice
2
; segments: 3)
-> Seq Scan on keo3
-> Hash
-> Assert
...
...
@@ -156,17 +153,16 @@ WHERE t1.user_vie_project_code_pk = keo1.user_vie_project_code_pk;
-> WindowAgg
-> Hash Join
Hash Cond: ((keo4.keo_para_budget_date)::text = (min((min((keo4_1.keo_para_budget_date)::text)))))
-> Gather Motion 3:1 (slice
4
; segments: 3)
-> Gather Motion 3:1 (slice
3
; segments: 3)
-> Seq Scan on keo4
-> Hash
-> Aggregate
-> Gather Motion 3:1 (slice
5
; segments: 3)
-> Gather Motion 3:1 (slice
4
; segments: 3)
-> Aggregate
-> Seq Scan on keo4 keo4_1
-> Hash
-> Redistribute Motion 3:3 (slice7; segments: 3)
Hash Key: keo2.projects_pk
-> Seq Scan on keo2
-> Hash
-> Broadcast Motion 3:3 (slice6; segments: 3)
-> Seq Scan on keo2
Optimizer: Pivotal Optimizer (GPORCA) version 3.41.0
(43 rows)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录