From f1009b59eed4525dff1ab416554d9c94851290a1 Mon Sep 17 00:00:00 2001 From: Volodymyr Shkolka Date: Sat, 13 Jul 2024 13:58:51 +0300 Subject: [PATCH] Fixed copy paste next iteration condition processing --- Milvus.Client/MilvusCollection.Entity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Milvus.Client/MilvusCollection.Entity.cs b/Milvus.Client/MilvusCollection.Entity.cs index 1389c66..dd48f2f 100644 --- a/Milvus.Client/MilvusCollection.Entity.cs +++ b/Milvus.Client/MilvusCollection.Entity.cs @@ -570,7 +570,7 @@ public async IAsyncEnumerable> QueryWithIteratorAsync( string nextExpression = pkField.DataType switch { DataType.VarChar => $"{pkField.Name} > '{pkLastValue}'", - DataType.Int8 or DataType.Int16 or DataType.Int32 or DataType.Int64 => $"{pkField.Name} > '{pkLastValue}'", + DataType.Int8 or DataType.Int16 or DataType.Int32 or DataType.Int64 => $"{pkField.Name} > {pkLastValue}", _ => throw new MilvusException("Unsupported data type for primary key field") };