Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
大炮V587
oceanbase
提交
c9b053fc
O
oceanbase
项目概览
大炮V587
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c9b053fc
编写于
3月 13, 2023
作者:
O
obdev
提交者:
ob-robot
3月 13, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[das group rescan] clear eval flag when fill param for right op
上级
aa32b0c1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
1 deletion
+6
-1
src/sql/code_generator/ob_static_engine_cg.cpp
src/sql/code_generator/ob_static_engine_cg.cpp
+0
-1
src/sql/engine/basic/ob_group_join_buffer.cpp
src/sql/engine/basic/ob_group_join_buffer.cpp
+4
-0
src/sql/engine/subquery/ob_subplan_filter_op.cpp
src/sql/engine/subquery/ob_subplan_filter_op.cpp
+2
-0
未找到文件。
src/sql/code_generator/ob_static_engine_cg.cpp
浏览文件 @
c9b053fc
...
...
@@ -874,7 +874,6 @@ int ObStaticEngineCG::generate_calc_exprs(
&&
!
raw_expr
->
is_op_pseudo_column_expr
()
&&
!
has_exist_in_array
(
dep_exprs
,
flattened_cur_exprs_arr
.
at
(
i
))
&&
(
raw_expr
->
has_flag
(
CNT_VOLATILE_CONST
)
||
raw_expr
->
has_flag
(
CNT_DYNAMIC_PARAM
)
||
contain_batch_stmt_parameter
// 计算包含batch优化的折叠参数
||
!
raw_expr
->
is_const_expr
()))
{
if
(
check_eval_once
...
...
src/sql/engine/basic/ob_group_join_buffer.cpp
浏览文件 @
c9b053fc
...
...
@@ -248,6 +248,8 @@ int ObGroupJoinBufffer::fill_cur_row_group_param()
ObExpr
*
dst
=
rescan_param
.
dst_
;
ObDatum
&
param_datum
=
dst
->
locate_datum_for_write
(
*
eval_ctx_
);
ObSqlArrayObj
&
arr
=
group_params_
.
at
(
i
);
dst
->
get_eval_info
(
*
eval_ctx_
).
clear_evaluated_flag
();
ObDynamicParamSetter
::
clear_parent_evaluated_flag
(
*
eval_ctx_
,
*
dst
);
if
(
OB_FAIL
(
param_datum
.
from_obj
(
arr
.
data_
[
cur_group_idx_
],
dst
->
obj_datum_map_
)))
{
LOG_WARN
(
"fail to cast datum"
,
K
(
ret
));
}
else
{
...
...
@@ -269,6 +271,8 @@ int ObGroupJoinBufffer::fill_cur_row_group_param()
ObExpr
*
dst
=
rescan_param
.
dst_
;
ObDatum
&
param_datum
=
dst
->
locate_datum_for_write
(
*
eval_ctx_
);
ObSqlArrayObj
*
arr
=
above_right_group_params_
.
at
(
i
);
dst
->
get_eval_info
(
*
eval_ctx_
).
clear_evaluated_flag
();
ObDynamicParamSetter
::
clear_parent_evaluated_flag
(
*
eval_ctx_
,
*
dst
);
if
(
OB_UNLIKELY
(
above_group_idx_for_read_
>=
arr
->
count_
))
{
ret
=
OB_ERR_UNEXPECTED
;
LOG_WARN
(
"unexpected group idx"
,
KR
(
ret
),
K
(
above_group_idx_for_read_
),
K
(
arr
->
count_
));
...
...
src/sql/engine/subquery/ob_subplan_filter_op.cpp
浏览文件 @
c9b053fc
...
...
@@ -1449,6 +1449,8 @@ int ObSubPlanFilterOp::fill_cur_row_das_batch_param(ObEvalCtx& eval_ctx, uint64_
ObExpr
*
dst
=
rescan_param
.
dst_
;
ObDatum
&
param_datum
=
dst
->
locate_datum_for_write
(
eval_ctx
);
const
ObSqlArrayObj
&
arr
=
das_batch_params_
.
at
(
i
);
dst
->
get_eval_info
(
eval_ctx
).
clear_evaluated_flag
();
ObDynamicParamSetter
::
clear_parent_evaluated_flag
(
eval_ctx
,
*
dst
);
if
(
OB_FAIL
(
param_datum
.
from_obj
(
arr
.
data_
[
current_group
],
dst
->
obj_datum_map_
)))
{
LOG_WARN
(
"fail to cast datum"
,
K
(
ret
));
}
else
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录