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/02/29 15:57:52 UTC

[GitHub] [incubator-doris] shellmeng opened a new issue #3023: doris can support to limit the timeout of one sql execution

shellmeng opened a new issue #3023: doris can support to limit the timeout of one sql execution
URL: https://github.com/apache/incubator-doris/issues/3023
 
 
   **Is your feature request related to a problem? Please describe.**
   I want to pass a timeout to one query sql, just like 'select /*+ max_execution_time(3000)*/'. once time is out, the query will return a timeout exception to the caller and kill the query inside the doris cluster to protected doris from being hurt by this dangerous query.
   
   **Describe the solution you'd like**
   just like mysql, support the timeout in a query like   'select /*+ max_execution_time(3000)*/'
   
   **Describe alternatives you've considered**
   no
   
   **Additional context**
   no

----------------------------------------------------------------
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


With regards,
Apache Git Services

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


[GitHub] [incubator-doris] morningman commented on issue #3023: doris can support to limit the timeout of one sql execution

Posted by GitBox <gi...@apache.org>.
morningman commented on issue #3023: doris can support to limit the timeout of one sql execution
URL: https://github.com/apache/incubator-doris/issues/3023#issuecomment-593466479
 
 
   Currently we do not support this kind of syntax.
   You can use session variable like `set query_timeout=60` to set a timeout for all queries in a session.

----------------------------------------------------------------
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


With regards,
Apache Git Services

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