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

Add a timeout for query parser

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.3.2
    • None
    • Parser
    • 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

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

            Dates

              Created:
              Updated: