From d93270f75c3f52217ffcc590910fd89becf94438 Mon Sep 17 00:00:00 2001 From: yongshige <598633031@qq.com> Date: Mon, 17 Jul 2023 03:42:20 +0000 Subject: [PATCH] fix add table check bug --- .../direct_load/ob_direct_load_multiple_heap_table_sorter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/storage/direct_load/ob_direct_load_multiple_heap_table_sorter.cpp b/src/storage/direct_load/ob_direct_load_multiple_heap_table_sorter.cpp index 33bc7b3ad..a5c2778b5 100644 --- a/src/storage/direct_load/ob_direct_load_multiple_heap_table_sorter.cpp +++ b/src/storage/direct_load/ob_direct_load_multiple_heap_table_sorter.cpp @@ -56,9 +56,6 @@ int ObDirectLoadMultipleHeapTableSorter::add_table(ObIDirectLoadPartitionTable * if (OB_ISNULL(external_table = dynamic_cast(table))) { ret = OB_ERR_UNEXPECTED; LOG_WARN("unexpected table", KR(ret), KPC(table)); - } else if (OB_UNLIKELY(external_table->get_fragments().count() != 1)) { - ret = OB_INVALID_ARGUMENT; - LOG_WARN("files handle should only have one handle", KR(ret)); } else if (OB_FAIL(fragments_.push_back(external_table->get_fragments()))) { LOG_WARN("fail to push back", KR(ret)); }