apache / apache/iotdb-client-csharp

Unexpected behavior of the CurrentBatchRowCount() method

Abierto
#53 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
24
Forks
6
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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));
}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.