From a5441cdcdeb3145dfe17eb728d9f0c5ed4dec0f9 Mon Sep 17 00:00:00 2001 From: Yihao Deng Date: Wed, 26 Jun 2024 08:49:38 +0000 Subject: [PATCH] Add index filtering based on column value type --- source/libs/index/src/indexFilter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/libs/index/src/indexFilter.c b/source/libs/index/src/indexFilter.c index 80994775d5..323f855601 100644 --- a/source/libs/index/src/indexFilter.c +++ b/source/libs/index/src/indexFilter.c @@ -637,7 +637,6 @@ static int8_t sifShouldUseIndexBasedOnType(SIFParam *left, SIFParam *right) { if (IS_VAR_DATA_TYPE(left->colValType)) { if (!IS_VAR_DATA_TYPE(right->colValType)) return 0; } else if (IS_NUMERIC_TYPE(left->colValType)) { - if (!IS_NUMERIC_TYPE(right->colValType)) return 0; if (left->colValType != right->colValType) return 0; } return 1;