Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
46d4f74a
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 搜索 >>
提交
46d4f74a
编写于
12月 19, 2017
作者:
B
Bhuvnesh Chaudhary
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Pass Row Number and Rank Oid to Optimizer Config
上级
7ae23a6a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
7 deletion
+12
-7
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
+1
-1
src/backend/gpopt/utils/COptTasks.cpp
src/backend/gpopt/utils/COptTasks.cpp
+6
-1
未找到文件。
config/orca.m4
浏览文件 @
46d4f74a
...
...
@@ -40,10 +40,10 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <string.h>
]],
[
return strncmp("2.5
2
.", GPORCA_VERSION_STRING, 5);
return strncmp("2.5
3
.", GPORCA_VERSION_STRING, 5);
])],
[AC_MSG_RESULT([[ok]])],
[AC_MSG_ERROR([Your ORCA version is expected to be 2.5
2
.XXX])]
[AC_MSG_ERROR([Your ORCA version is expected to be 2.5
3
.XXX])]
)
AC_LANG_POP([C++])
])# PGAC_CHECK_ORCA_VERSION
...
...
configure
浏览文件 @
46d4f74a
...
...
@@ -12587,7 +12587,7 @@ int
main ()
{
return strncmp("2.5
2
.", GPORCA_VERSION_STRING, 5);
return strncmp("2.5
3
.", GPORCA_VERSION_STRING, 5);
;
return 0;
...
...
@@ -12597,7 +12597,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 2.5
2
.XXX" "$LINENO" 5
as_fn_error $? "Your ORCA version is expected to be 2.5
3
.XXX" "$LINENO" 5
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
...
...
depends/conanfile_orca.txt
浏览文件 @
46d4f74a
[requires]
orca/v2.5
2
.0@gpdb/stable
orca/v2.5
3
.0@gpdb/stable
[imports]
include, * -> build/include
...
...
gpAux/releng/releng.mk
浏览文件 @
46d4f74a
...
...
@@ -121,7 +121,7 @@ sync_tools: opt_write_test /opt/releng/apache-ant
@echo
"Resolve finished"
;
ifeq
"$(findstring aix,$(BLD_ARCH))" ""
LD_LIBRARY_PATH
=
''
wget
-O
- https://github.com/greenplum-db/gporca/releases/download/v2.5
2
.0/bin_orca_centos5_release.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
LD_LIBRARY_PATH
=
''
wget
-O
- https://github.com/greenplum-db/gporca/releases/download/v2.5
3
.0/bin_orca_centos5_release.tar.gz |
tar
zxf -
-C
$(BLD_TOP)
/ext/
$(BLD_ARCH)
endif
clean_tools
:
opt_write_test
...
...
src/backend/gpopt/utils/COptTasks.cpp
浏览文件 @
46d4f74a
...
...
@@ -30,6 +30,7 @@
#include "cdb/cdbvars.h"
#include "utils/guc.h"
#include "utils/fmgroids.h"
#include "gpos/base.h"
#include "gpos/error/CException.h"
...
...
@@ -94,6 +95,9 @@ using namespace gpdbcost;
// definition of default AutoMemoryPool
#define AUTO_MEM_POOL(amp) CAutoMemoryPool amp(CAutoMemoryPool::ElcExc, CMemoryPoolManager::EatTracker, false
/* fThreadSafe */
)
// OID for Window RANK function
#define F_WINDOW_RANK_OID 7001
// default id for the source system
const
CSystemId
sysidDefault
(
IMDId
::
EmdidGPDB
,
GPOS_WSZ_STR_LENGTH
(
"GPDB"
));
...
...
@@ -806,7 +810,8 @@ COptTasks::PoconfCreate
ulBroadcastThreshold
,
false
/* don't create Assert nodes for constraints, we'll
* enforce them ourselves in the executor */
)
),
GPOS_NEW
(
pmp
)
CWindowOids
(
OID
(
F_WINDOW_DUMMY
),
OID
(
F_WINDOW_RANK_OID
))
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录