Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
e36d53e8
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,发现更多精彩内容 >>
提交
e36d53e8
编写于
5月 08, 2019
作者:
B
Bhuvnesh Chaudhary
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Bump ORCA to v3.41.0 and update test cases
上级
205e5171
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
61 addition
and
58 deletion
+61
-58
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_joins_optimizer.out
src/test/regress/expected/bfv_joins_optimizer.out
+11
-11
src/test/regress/expected/notin_optimizer.out
src/test/regress/expected/notin_optimizer.out
+7
-7
src/test/regress/expected/update_gp_optimizer.out
src/test/regress/expected/update_gp_optimizer.out
+36
-33
未找到文件。
config/orca.m4
浏览文件 @
e36d53e8
...
...
@@ -40,10 +40,10 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <string.h>
]],
[
return strncmp("3.4
0
.", GPORCA_VERSION_STRING, 5);
return strncmp("3.4
1
.", GPORCA_VERSION_STRING, 5);
])],
[AC_MSG_RESULT([[ok]])],
[AC_MSG_ERROR([Your ORCA version is expected to be 3.4
0
.XXX])]
[AC_MSG_ERROR([Your ORCA version is expected to be 3.4
1
.XXX])]
)
AC_LANG_POP([C++])
])# PGAC_CHECK_ORCA_VERSION
...
...
configure
浏览文件 @
e36d53e8
...
...
@@ -13995,7 +13995,7 @@ int
main ()
{
return strncmp("3.4
0
.", GPORCA_VERSION_STRING, 5);
return strncmp("3.4
1
.", 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
0
.XXX" "$LINENO" 5
as_fn_error $? "Your ORCA version is expected to be 3.4
1
.XXX" "$LINENO" 5
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
...
...
depends/conanfile_orca.txt
浏览文件 @
e36d53e8
[requires]
orca/v3.4
0
.0@gpdb/stable
orca/v3.4
1
.0@gpdb/stable
[imports]
include, * -> build/include
...
...
gpAux/releng/releng.mk
浏览文件 @
e36d53e8
...
...
@@ -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
0
.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
1
.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
0
.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
1
.0/bin_orca_centos5_release.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
endif
endif
...
...
src/test/regress/expected/bfv_joins_optimizer.out
浏览文件 @
e36d53e8
...
...
@@ -3076,20 +3076,20 @@ ON (member_group.group_id IN (12,13,14,15) AND member_subgroup.subgroup_name = r
-> Redistribute Motion 3:3 (slice3; segments: 3)
Hash Key: member_subgroup.subgroup_name
-> Hash Join
Hash Cond: ((member."group_id" = member_group."group_id") AND (member_subgroup."group_id" = member_group."group_id"))
-> Redistribute Motion 3:3 (slice2; segments: 3)
Hash Key: member."group_id"
-> Hash Join
Hash Cond: (member."group_id" = member_subgroup."group_id")
-> Seq Scan on member
-> Hash
-> Broadcast Motion 3:3 (slice1; segments: 3)
-> Seq Scan on member_subgroup
Hash Cond: (member_group."group_id" = member."group_id")
-> Seq Scan on member_group
-> Hash
-> Seq Scan on member_group
-> Redistribute Motion 3:3 (slice2; segments: 3)
Hash Key: member_subgroup."group_id"
-> Hash Join
Hash Cond: (member."group_id" = member_subgroup."group_id")
-> Seq Scan on member
-> Hash
-> Broadcast Motion 3:3 (slice1; segments: 3)
-> Seq Scan on member_subgroup
-> Hash
-> Redistribute Motion 3:3 (slice4; segments: 3)
Hash Key:
(region.county_name)::text
Hash Key:
region.county_name
-> Seq Scan on region
Optimizer: Pivotal Optimizer (GPORCA) version 2.69.0
(23 rows)
...
...
src/test/regress/expected/notin_optimizer.out
浏览文件 @
e36d53e8
...
...
@@ -229,15 +229,15 @@ explain select c1 from t1,
QUERY PLAN
------------------------------------------------------------------------------------------
Hash Left Anti Semi (Not-In) Join (cost=0.00..1293.00 rows=1 width=4)
Hash Cond:
t2.c2 = t3.c3
Hash Cond:
(t2.c2 = t3.c3)
-> Gather Motion 3:1 (slice1; segments: 3) (cost=0.00..862.00 rows=1 width=8)
-> Hash Join (cost=0.00..862.00 rows=1 width=8)
Hash Cond:
t1.c1 = t2.c2
-> Seq Scan on t
1 (cost=0.00..431.00 rows=2
width=4)
Filter:
c1 > 4
-> Hash (cost=431.00..431.00 rows=
1
width=4)
-> Seq Scan on t
2 (cost=0.00..431.00 rows=1
width=4)
Filter:
c2 > 4
Hash Cond:
(t2.c2 = t1.c1)
-> Seq Scan on t
2 (cost=0.00..431.00 rows=1
width=4)
Filter:
(c2 > 4)
-> Hash (cost=431.00..431.00 rows=
2
width=4)
-> Seq Scan on t
1 (cost=0.00..431.00 rows=2
width=4)
Filter:
(c1 > 4)
-> Hash (cost=431.00..431.00 rows=1 width=4)
-> Gather Motion 3:1 (slice2; segments: 3) (cost=0.00..431.00 rows=3 width=4)
-> Seq Scan on t3 (cost=0.00..431.00 rows=1 width=4)
...
...
src/test/regress/expected/update_gp_optimizer.out
浏览文件 @
e36d53e8
...
...
@@ -132,40 +132,43 @@ WHERE t1.user_vie_project_code_pk = keo1.user_vie_project_code_pk;
-> Result
-> Hash Join
Hash Cond: ((keo1.user_vie_project_code_pk)::text = (keo1_1.user_vie_project_code_pk)::text)
-> Seq Scan on keo1
-> Redistribute Motion 3:3 (slice1; segments: 3)
Hash Key: keo1.user_vie_project_code_pk
-> Seq Scan on keo1
-> Hash
-> Broadcast Motion 3:3 (slice7; segments: 3)
-> Hash Join
Hash Cond: ((keo1_1.user_vie_project_code_pk)::text = (keo2.projects_pk)::text)
-> Redistribute 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 (slice1; 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 (slice2; segments: 3)
-> Seq Scan on keo3
-> Hash
-> Assert
Assert Cond: ((row_number() OVER (?)) = 1)
-> WindowAgg
-> Hash Join
Hash Cond: ((keo4.keo_para_budget_date)::text = (min((min((keo4_1.keo_para_budget_date)::text)))))
-> Gather Motion 3:1 (slice3; segments: 3)
-> Seq Scan on keo4
-> Hash
-> Aggregate
-> Gather Motion 3:1 (slice4; segments: 3)
-> Aggregate
-> Seq Scan on keo4 keo4_1
-> Hash
-> Broadcast Motion 3:3 (slice6; segments: 3)
-> Seq Scan on keo2
Optimizer: Pivotal Optimizer (GPORCA) version 3.39.0
(40 rows)
-> 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 Join
Hash Cond: ((keo1_1.user_vie_fiscal_year_period_sk)::text = (max((keo3.sky_per)::text)))
-> Gather Motion 3:1 (slice2; 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 (slice3; segments: 3)
-> Seq Scan on keo3
-> Hash
-> Assert
Assert Cond: ((row_number() OVER (?)) = 1)
-> WindowAgg
-> Hash Join
Hash Cond: ((keo4.keo_para_budget_date)::text = (min((min((keo4_1.keo_para_budget_date)::text)))))
-> Gather Motion 3:1 (slice4; segments: 3)
-> Seq Scan on keo4
-> Hash
-> Aggregate
-> Gather Motion 3:1 (slice5; 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
Optimizer: Pivotal Optimizer (GPORCA) version 3.41.0
(43 rows)
UPDATE keo1 SET user_vie_act_cntr_marg_cum = 234.682 FROM
( SELECT a.user_vie_project_code_pk FROM keo1 a INNER JOIN keo2 b
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录