[
https://issues.apache.org/jira/browse/LENS-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14599084#comment-14599084
]
Himanshu Gahlaut commented on LENS-630:
---------------------------------------
We can assign a default MAX_VALUE to query cost for every query. If the logic
encounters any query for which it cannot calculate cost (the UNKNOWN bucket),
it can leave the default value as it is.
> Using Duration and Fact Weight Based Query Cost Calculator for Hive Driver
> --------------------------------------------------------------------------
>
> Key: LENS-630
> URL: https://issues.apache.org/jira/browse/LENS-630
> Project: Apache Lens
> Issue Type: Improvement
> Reporter: Himanshu Gahlaut
> Assignee: Rajat Khandelwal
>
> Along with this, we can add a new field in QueryCost to return the query cost
> calculated by the implementation. normalizedQueryCost could be one name for
> that field.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)