You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2022/03/30 14:23:58 UTC
[GitHub] [calcite-avatica-go] liguozhong commented on pull request #56: Fix bug:panic msg: runtime error: index out of range [0] with length 0
liguozhong commented on pull request #56:
URL: https://github.com/apache/calcite-avatica-go/pull/56#issuecomment-1083205267
```shell
panic: runtime error: index out of range [0] with length 0
/usr/local/go/src/runtime/panic.go:1038 +0x215
github.com/apache/calcite-avatica-go/v5.(*rows).Next(0x4cc4b7, {0x4ca3a78, 0x1fc3d9f, 0xc05912c140})
/Users/fuling/go/pkg/mod/github.com/liguozhong/calcite-avatica-go/v5@v5.1.1-0.20220330134131-bddb6756a60d/rows.go:83 +0x536
database/sql.(*Rows).nextLocked(0xc01499f000)
/usr/local/go/src/database/sql/sql.go:2967 +0x111
database/sql.(*Rows).Next.func1()
/usr/local/go/src/database/sql/sql.go:2945 +0x2f
database/sql.withLock({0x32a6008, 0xc01499f030}, 0xc0092536f0)
/usr/local/go/src/database/sql/sql.go:3396 +0x8c
database/sql.(*Rows).Next(0xc01499f000)
/usr/local/go/src/database/sql/sql.go:2944 +0x6f
github.com/grafana/loki/pkg/storage/chunk/avatica.(*StorageClient).query(0xc00120e680, {0x32d98a8, 0xc0035e6150}, {{0xc005966a40, 0x1e}, {0xc003c36ff0, 0x2b}, {0x0, 0x0, 0x0}, ...}, ...)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org