You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/25 12:51:47 UTC

[GitHub] [incubator-doris] gengjun-git opened a new issue #4449: Golang cannot get err when query timeout

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #4449: Golang cannot get err when query timeout

Posted by GitBox <gi...@apache.org>.
morningman closed issue #4449:
URL: https://github.com/apache/incubator-doris/issues/4449


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org