fix: build break under debug mode (#38790)

See #38435

Signed-off-by: Ted Xu <ted.xu@zilliz.com>
pull/39050/head
Ted Xu 2025-01-07 17:36:56 +08:00 committed by GitHub
parent 182cac03e5
commit 3dc95153b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ namespace milvus::segcore {
case DataType::INT64: { \
auto col = \
std::dynamic_pointer_cast<SingleChunkColumn>(column); \
auto pks = reinterpret_cast<const int64_t*>(col->Data(0)); \
for (int i = 1; i < col->NumRows(); ++i) { \
assert(pks[i - 1] <= pks[i] && \
"INT64 Column is not ordered!"); \