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

Add Ellipsis For Truncated Query In Hive Lock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Hive
    • None
    • Patch

    Description

      HIVE-16334 introduced truncation for storing queries in ZK lock nodes. This Jira is to add ellipsis into the query to let the operator know that truncation has occurred and therefore they will not find the specific query in their logs, only a prefix match will work.

      -- Truncation of query may be confusing to operator
      
      -- Without truncation
      SELECT * FROM TABLE WHERE COL=1
      
      -- With truncation (operator will not find this query in workload)
      SELECT * FROM TABLE
      
      -- With truncation (operator will know this is only a prefix match)
      SELECT * FROM TABLE...
      

      Attachments

        1. HIVE-17799.1.patch
          1.0 kB
          David Mollitor

        Issue Links

          Activity

            People

              belugabehr David Mollitor
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: