apache / apache/iotdb-client-csharp

Unexpected behavior of the CurrentBatchRowCount() method

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.