[Feature](IP) support ipv4/ipv6 with inverted index and conjuncts for query (#35734)
support data type ipv4/ipv6 with inverted index and then we can query like "> or < or >= or <= or in/not in " this conjuncts expr for ip with inverted index speeding up
This commit is contained in:
@ -370,7 +370,9 @@ Status VScanNode::_normalize_conjuncts() {
|
||||
M(DECIMAL128I) \
|
||||
M(DECIMAL256) \
|
||||
M(DECIMALV2) \
|
||||
M(BOOLEAN)
|
||||
M(BOOLEAN) \
|
||||
M(IPV4) \
|
||||
M(IPV6)
|
||||
APPLY_FOR_PRIMITIVE_TYPE(M)
|
||||
#undef M
|
||||
default: {
|
||||
@ -1260,6 +1262,7 @@ Status VScanNode::_change_value_range(ColumnValueRange<PrimitiveType>& temp_rang
|
||||
(PrimitiveType == TYPE_DATETIMEV2) || (PrimitiveType == TYPE_TINYINT) ||
|
||||
(PrimitiveType == TYPE_SMALLINT) || (PrimitiveType == TYPE_INT) ||
|
||||
(PrimitiveType == TYPE_BIGINT) || (PrimitiveType == TYPE_LARGEINT) ||
|
||||
(PrimitiveType == TYPE_IPV4) || (PrimitiveType == TYPE_IPV6) ||
|
||||
(PrimitiveType == TYPE_DECIMAL32) || (PrimitiveType == TYPE_DECIMAL64) ||
|
||||
(PrimitiveType == TYPE_DECIMAL128I) ||
|
||||
(PrimitiveType == TYPE_DECIMAL256) || (PrimitiveType == TYPE_STRING) ||
|
||||
|
||||
Reference in New Issue
Block a user