[
https://issues.apache.org/jira/browse/HIVE-17799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
BELUGA BEHR updated HIVE-17799:
-------------------------------
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.
{code:sql}
-- 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...
{code}
was:
[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.
{code:sql}
-- Truncation of query may be confusing to operator
-- Without truncation
SELECT * FROM TABLE WHERE COL=1
-- With truncation (will not find this query in workload)
SELECT * FROM TABLE
{code}
> Add Ellipsis For Truncated Query In Hive Lock
> ---------------------------------------------
>
> Key: HIVE-17799
> URL: https://issues.apache.org/jira/browse/HIVE-17799
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Affects Versions: 3.0.0
> Reporter: BELUGA BEHR
> Assignee: BELUGA BEHR
> Priority: Trivial
> Attachments: HIVE-17799.1.patch
>
>
> [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.
> {code:sql}
> -- 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...
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)