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)

Reply via email to