Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18850

Add a timeout for query parser

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.2
    • Fix Version/s: None
    • Component/s: Parser
    • Labels:
      None

      Description

      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.

        Attachments

        1. HIVE-18850.patch
          3 kB
          Amruth Sampath

          Activity

            People

            • Assignee:
              amrk7 Amruth Sampath
              Reporter:
              amrk7 Amruth Sampath
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: