fix: i64→i32 for INT4 cols (identity_binding, identity_agent, qdrant_db)

This commit is contained in:
Accusys
2026-05-25 03:18:50 +08:00
parent 8fdd1d741b
commit a2b71fef0d
3 changed files with 10 additions and 10 deletions

View File

@@ -758,7 +758,7 @@ impl QdrantDb {
vector: &[f32],
file_uuid: &str,
trace_id: i32,
frame_number: i64,
frame_number: i32,
) -> Result<()> {
let url = format!(
"{}/collections/{}/points?wait=true",
@@ -889,7 +889,7 @@ pub async fn sync_face_embeddings(file_uuid: &str) -> Result<()> {
for row in &rows {
let id: i32 = row.get(0);
let trace_id: Option<i32> = row.get(1);
let frame_number: i64 = row.get(2);
let frame_number: i32 = row.get(2);
let embedding: Option<Vec<f32>> = row.get(3);
if let (Some(emb), Some(tid)) = (embedding, trace_id) {