apache / apache/iotdb-client-csharp
Unexpected behavior of the CurrentBatchRowCount() method
- 主要语言
- C#
- 星标
- 24
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
描述
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));
}
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- backend, databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100