Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
ed9b9eea
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,体验更适合开发者的 AI 搜索 >>
提交
ed9b9eea
编写于
6月 03, 2020
作者:
H
Hans Zeller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix plan difference in gporca regression test
上级
87fef901
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
22 addition
and
19 deletion
+22
-19
src/test/regress/expected/gporca_optimizer.out
src/test/regress/expected/gporca_optimizer.out
+22
-19
未找到文件。
src/test/regress/expected/gporca_optimizer.out
浏览文件 @
ed9b9eea
...
@@ -12337,40 +12337,43 @@ SELECT DISTINCT L1.c, L1.lid
...
@@ -12337,40 +12337,43 @@ SELECT DISTINCT L1.c, L1.lid
FROM t55 L1 CROSS JOIN META
FROM t55 L1 CROSS JOIN META
WHERE L1.lid = META.LOAD_ID;
WHERE L1.lid = META.LOAD_ID;
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause. Creating a NULL policy entry.
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause. Creating a NULL policy entry.
QUERY PLAN
QUERY PLAN
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------
----
Result (cost=0.00..0.00 rows=0 width=0)
Result (cost=0.00..0.00 rows=0 width=0)
Output: c, lid
Output: c, lid
-> Result (cost=0.00..43
7.37 rows=134
width=8)
-> Result (cost=0.00..43
1.10 rows=1
width=8)
Output: c, lid, 1
Output: c, lid, 1
-> Redistribute Motion 3:3 (slice2; segments: 3) (cost=0.00..431.
12 rows=134
width=8)
-> Redistribute Motion 3:3 (slice2; segments: 3) (cost=0.00..431.
08 rows=1
width=8)
Output: c, lid
Output: c, lid
->
HashAggregate (cost=0.00..431.12 rows=134
width=8)
->
GroupAggregate (cost=0.00..431.08 rows=1
width=8)
Output: c, lid
Output: c, lid
Group Key: t55.c, t55.lid
Group Key: t55.c, t55.lid
->
Hash Join (cost=0.00..431.08 rows=134
width=8)
->
Sort (cost=0.00..431.08 rows=1
width=8)
Output: c, lid
Output: c, lid
Hash Cond: (t55.lid = pg_catalog.int4in(unknownout("outer".load_id), 23::oid, (-1)))
Sort Key: t55.c, t55.lid
->
Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..431.02 rows=334
width=8)
->
Hash Join (cost=0.00..431.08 rows=1
width=8)
Output: c, lid
Output: c, lid
Hash
Key: lid
Hash
Cond: (t55.lid = pg_catalog.int4in(unknownout("outer".load_id), 23::oid, (-1)))
->
Seq Scan on orca.t55 (cost=0.00..431.01
rows=334 width=8)
->
Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..431.02
rows=334 width=8)
Output: c, lid
Output: c, lid
-> Hash (cost=0.00..0.00 rows=1 width=8)
Hash Key: lid
Output: load_id
-> Seq Scan on orca.t55 (cost=0.00..431.01 rows=334 width=8)
-> Result (cost=0.00..0.00 rows=1 width=8)
Output: c, lid
-> Hash (cost=0.00..0.00 rows=1 width=8)
Output: load_id
Output: load_id
-> Result (cost=0.00..0.00 rows=1 width=8)
-> Result (cost=0.00..0.00 rows=1 width=8)
Output: load_id
, pg_catalog.int4in(unknownout(load_id), 23::oid, (-1))
Output: load_id
-> Result (cost=0.00..0.00 rows=1 width=8)
-> Result (cost=0.00..0.00 rows=1 width=8)
Output: load_id
Output: load_id
, pg_catalog.int4in(unknownout(load_id), 23::oid, (-1))
-> Result (cost=0.00..0.00 rows=1 width=8)
-> Result (cost=0.00..0.00 rows=1 width=8)
Output: '2020-01-01', '99'
Output: load_id
-> Result (cost=0.00..0.00 rows=1 width=1)
-> Result (cost=0.00..0.00 rows=1 width=8)
Output: true
Output: '2020-01-01', '99'
-> Result (cost=0.00..0.00 rows=1 width=1)
Output: true
Optimizer: Pivotal Optimizer (GPORCA)
Optimizer: Pivotal Optimizer (GPORCA)
Settings: optimizer=on, optimizer_cte_inlining_bound=1000, optimizer_join_order=query, optimizer_metadata_caching=on
Settings: optimizer=on, optimizer_cte_inlining_bound=1000, optimizer_join_order=query, optimizer_metadata_caching=on
(3
1
rows)
(3
4
rows)
CREATE TABLE TP AS
CREATE TABLE TP AS
WITH META AS (SELECT '2020-01-01' AS VALID_DT, '99' AS LOAD_ID)
WITH META AS (SELECT '2020-01-01' AS VALID_DT, '99' AS LOAD_ID)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录