Skip to content

Commit

Permalink
Fixed copy paste next iteration condition processing
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackGad committed Jul 13, 2024
1 parent 3602fe1 commit f1009b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Milvus.Client/MilvusCollection.Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public async IAsyncEnumerable<IReadOnlyList<FieldData>> 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")
};

Expand Down

0 comments on commit f1009b5

Please sign in to comment.