apache / apache/iotdb-client-csharp
Unexpected behavior of the CurrentBatchRowCount() method
Open
- Dominant language
- C#
- Stars
- 24
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
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:
```csharp
var count = dataset.CurrentBatchRowCount();
// variable count always contains 0
var list = new List(count);
while (await dataset.HasNextAsync())
{
var row = dataset.Next();
list.Add(new DataItem(row, false));
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.