[CP] [GIS] fix gis index skyline prune

This commit is contained in:
obdev
2024-03-15 17:44:56 +00:00
committed by ob-robot
parent 4432400ddc
commit 626e7b336f
3 changed files with 75 additions and 13 deletions

View File

@ -1679,6 +1679,9 @@ struct NullAwareAntiJoinInfo {
int check_exprs_overlap_index(const common::ObIArray<ObRawExpr*>& quals,
const common::ObIArray<ObRawExpr*>& keys,
bool &match);
int check_exprs_overlap_gis_index(const ObIArray<ObRawExpr*>& quals,
const ObIArray<ObRawExpr*>& keys,
bool &match);
/**
* 判断连接条件是否匹配索引前缀
@ -1729,6 +1732,7 @@ struct NullAwareAntiJoinInfo {
* */
int check_and_extract_query_range(const uint64_t table_id,
const uint64_t index_table_id,
const IndexInfoEntry &index_info_entry,
const ObIArray<ObRawExpr*> &index_keys,
const ObIndexInfoCache &index_info_cache,
bool &contain_always_false,