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

Add Ellipsis For Truncated Query In Hive Lock

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Hive
    • Labels:
      None
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: