fix recover external table bug
This commit is contained in:
@ -24,6 +24,7 @@ namespace common
|
||||
{
|
||||
class ObObj;
|
||||
class ObNewRange;
|
||||
class ObAddr;
|
||||
}
|
||||
|
||||
namespace sql
|
||||
@ -98,6 +99,10 @@ class ObExternalTableUtils {
|
||||
const common::ObIArray<ObExternalFileInfo> &files,
|
||||
common::ObIArray<int64_t> &assigned_idx,
|
||||
int64_t sqc_count);
|
||||
|
||||
static int filter_files_in_locations(common::ObIArray<share::ObExternalFileInfo> &files,
|
||||
common::ObIArray<common::ObAddr> &locations,
|
||||
common::ObIArray<share::ObExternalFileInfo> &res);
|
||||
private:
|
||||
static bool is_left_edge(const common::ObObj &value);
|
||||
static bool is_right_edge(const common::ObObj &value);
|
||||
@ -109,6 +114,7 @@ class ObExternalTableUtils {
|
||||
const int64_t last_lineno,
|
||||
common::ObIAllocator &allocator,
|
||||
common::ObNewRange &new_range);
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user