Unexpected behavior of the CurrentBatchRowCount() method
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start by reproducing the issue with the provided C# example against library version 2.0.8, then inspect the implementation of CurrentBatchRowCount() and compare it with the earlier RowCount behavior. Done means the method returns the dataset's actual record count and the example no longer initializes the list with zero.
Written by the indexing model from the issue text.
Description
In version 2.0.8 of the library, this method always returns 0, even though the dataset contains records. In earlier versions of the library, the RowCount property worked correctly and returned the actual number of records.
Code example:
var count = dataset.CurrentBatchRowCount();
// variable count always contains 0
var list = new List<DataItem>(count);
while (await dataset.HasNextAsync())
{
var row = dataset.Next();
list.Add(new DataItem(row, false));
}
- Dominant language
- C#
- Stars
- 24
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/iotdb-client-csharp
-
网络波动后导致获取连接失败 Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
apache/iotdb-client-csharp#58 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
apache/iotdb-client-csharp#55 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
apache/iotdb-client-csharp#54 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
apache/iotdb-client-csharp#50 · 5 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
apache/iotdb-client-csharp#36 · 1 comment · 1 reaction ·
All issues in apache/iotdb-client-csharp
Similar issues
-
:watch: Not Triaged dotnet-fsharp/svc
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Azure/azure-sdk-for-net#63292 · 3 comments · 1 reaction ·
-
Issue-Enhancement Needs-Triage
Difficulty 1/5 Under an hour Newbie friendliness 86/100
PowerShell/PowerShell#28061 · 2 reactions ·
-
dependencies needs-team-triage server-Azure.Mcp
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
aspnet-core/svc aspnetcore-signalr/subsvc doc-enhancement Pri2 SignalR
Difficulty 1/5 Under an hour Newbie friendliness 88/100
dotnet/AspNetCore.Docs#37729 ·