gengjun-git opened a new issue #4449:
URL: https://github.com/apache/incubator-doris/issues/4449
**Describe the bug**
Golang cannot get error when query timeout
**To Reproduce**
execute a long time used SQL using driver.Query(SQL) api.
```golang
rows, err := driver.Query(SQL)
if err != nil {
//print err and return
}
for rows.Next() {
//read rows
}
```
**Expected behavior**
err != nil but err == nil and rows.Next() return false
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]