提交 5d339f88 编写于 作者: O obdev 提交者: wangzelin.wzl

Disable batch nlj when right is sample scan

上级 727c5bf5
......@@ -1654,7 +1654,10 @@ int ObLogJoin::can_use_batch_nlj(bool& use_batch_nlj)
ts = static_cast<ObLogTableScan*>(get_child(1));
// normal table scan on real table
use_batch_nlj =
(!is_virtual_table(ts->get_ref_table_id()) && !ts->get_is_fake_cte_table() && !ts->is_for_update());
!is_virtual_table(ts->get_ref_table_id())
&& !ts->get_is_fake_cte_table()
&& !ts->is_for_update()
&& !ts->is_sample_scan();
} else {
use_batch_nlj = false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册