提交 b6aa3465 编写于 作者: W wangt1xiuyi 提交者: wangzelin.wzl

[Essence Securities]fix occur error after transform subquery pullup when view...

[Essence Securities]fix occur error after transform subquery pullup when view not set parent namespace stmt.
上级 7122a4bf
...@@ -2098,6 +2098,7 @@ int ObDMLResolver::expand_view(TableItem& view_item) ...@@ -2098,6 +2098,7 @@ int ObDMLResolver::expand_view(TableItem& view_item)
ObViewTableResolver view_resolver(params_, get_view_db_name(), get_view_name()); ObViewTableResolver view_resolver(params_, get_view_db_name(), get_view_name());
view_resolver.set_current_level(current_level_); view_resolver.set_current_level(current_level_);
view_resolver.set_current_view_item(view_item); view_resolver.set_current_view_item(view_item);
view_resolver.set_parent_namespace_resolver(parent_namespace_resolver_);
if (OB_FAIL(do_expand_view(view_item, view_resolver))) { if (OB_FAIL(do_expand_view(view_item, view_resolver))) {
LOG_WARN("do expand view resolve failed", K(ret)); LOG_WARN("do expand view resolve failed", K(ret));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册