[
https://issues.apache.org/jira/browse/HIVE-18850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amruth S updated HIVE-18850:
----------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
> Attachments: HIVE-18850.patch
>
>
> 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)