You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Amruth S (JIRA)" <ji...@apache.org> on 2018/03/02 08:17:00 UTC

[jira] [Created] (HIVE-18850) Add a timeout for query parser

Amruth S created HIVE-18850:
-------------------------------

             Summary: Add a timeout for query parser
                 Key: HIVE-18850
                 URL: https://issues.apache.org/jira/browse/HIVE-18850
             Project: Hive
          Issue Type: Improvement
          Components: Parser
    Affects Versions: 2.3.2
            Reporter: Amruth S
            Assignee: Amruth S


Certain queries might take a very high time to parse.

A facility to short circuit the parsing if it takes more time (configurable) would be really useful. 

*Proposed solution*

Add a property *parser.timeoutSec*. **Invoke the core parse method in a different thread. Wait till the configured or return user exception.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)