[
https://issues.apache.org/jira/browse/HIVE-11471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659041#comment-14659041
]
Sergey Shelukhin commented on HIVE-11471:
-----------------------------------------
The background is that, if the user is going to run queries that can be written
multiple ways, that are either expensive, or are run on a busy cluster (so one
run is not a good indicator of perf), they want to compare these rewrites
before running. I think having it work just in CBO case is also fine... as long
as the cost computation is consistent (i.e. comparable) between different
queries, it can simply be output in the explain plan in CBO case, I think
> Expose query cost estimates (from CBO?) in explain plan
> -------------------------------------------------------
>
> Key: HIVE-11471
> URL: https://issues.apache.org/jira/browse/HIVE-11471
> 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
(v6.3.4#6332)