Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions iotdb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (c Client) CountStorageGroups() (int, error) {
}

// CountTimeSeries returns the time series count from a IoTDB instance.
func (c Client) CountTimeSeries() (int32, error) {
func (c Client) CountTimeSeries() (int64, error) {
session, err := c.newSession()

if err != nil {
Expand All @@ -65,7 +65,7 @@ func (c Client) CountTimeSeries() (int32, error) {
return -1, err
}

var count int32
var count int64
if !hasNext {
return count, nil
}
Expand Down