Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Unexpected behavior of the CurrentBatchRowCount() method

未關閉
#53 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
csharp
領域
backend, databases

研究方向

首先,使用提供的 C# 範例在函式庫版本 2.0.8 上重現問題,接著檢查 CurrentBatchRowCount() 的實作,並與先前的 RowCount 行為進行比較。完成條件是該方法回傳 dataset 的實際記錄數,且範例不再以 0 初始化清單。

由索引模型根據 Issue 內容生成。

描述

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));
}
主要語言
C#
星號
24
分支
6
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/iotdb-client-csharp 的其他 Issue

查看 apache/iotdb-client-csharp 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。