hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <>
Subject [jira] [Commented] (HIVE-11471) Expose query cost estimates (from CBO?) in explain plan
Date Wed, 05 Aug 2015 21:19:04 GMT


Pengcheng Xiong commented on HIVE-11471:

[~hagleitn], i am not sure, but I guess [~sershe] is asking the cost (cardinality) of a query
plan that is specified by the user. If that is the case, i think the user can just turn off
CBO and give Hive a query and run explain, it will show the cost. For example, the plan that
is given by CBO for a query which joins A,B,C tables is A join B and then join C. The user
can turn off CBO and write the query like A join C join B, then run explain will show the
cost and the plan. The user can compare it with the plan that is given by CBO.

> Expose query cost estimates (from CBO?) in explain plan
> -------------------------------------------------------
>                 Key: HIVE-11471
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
> Some users of Hive suggested that it would be useful to see abstract cost of the query
plan in explain, so that different manual rewrites of the query could be compared before running.

This message was sent by Atlassian JIRA

View raw message