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

[CP][BUGFIX] fix lob merge with null partition key col

上级 679f06fc
......@@ -739,7 +739,9 @@ int ObLobDataWriter::check_rowkey(const ObStoreRowkey& rowkey, bool& check_ret)
} else {
check_ret = true;
for (int64_t i = 0; check_ret && i < rowkey_column_cnt_; i++) {
if (column_types_.at(i).get_type() != rowkey.get_obj_ptr()[i].get_type()) {
if (rowkey.get_obj_ptr()[i].is_null()) {
// pass
} else if (column_types_.at(i).get_type() != rowkey.get_obj_ptr()[i].get_type()) {
check_ret = false;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册