Skip to content

Commit

Permalink
[Fix](inverted index) add DATEV2 and DATETIMEV2 for inverted index re…
Browse files Browse the repository at this point in the history
…ader (apache#41565)

## Proposed changes

This PR adds support for DATEV2 and DATETIMEV2 types in the inverted
index reader, aligning with the types already allowed in the inverted
index writer.
  • Loading branch information
airborne12 committed Oct 9, 2024
1 parent 28bf5ed commit ca24753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/olap/rowset/segment_v2/inverted_index_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ class InvertedIndexQueryParamFactory {
M(PrimitiveType::TYPE_CHAR)
M(PrimitiveType::TYPE_VARCHAR)
M(PrimitiveType::TYPE_STRING)
M(PrimitiveType::TYPE_DATEV2)
M(PrimitiveType::TYPE_DATETIMEV2)
#undef M
default:
return Status::NotSupported("Unsupported primitive type {} for inverted index reader",
Expand Down

0 comments on commit ca24753

Please sign in to comment.