[
https://issues.apache.org/jira/browse/LENS-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Puneet Gupta updated LENS-1493:
-------------------------------
Fix Version/s: 2.8
> TotalQueryCost logic broken
> ----------------------------
>
> Key: LENS-1493
> URL: https://issues.apache.org/jira/browse/LENS-1493
> Project: Apache Lens
> Issue Type: Bug
> Components: server
> Reporter: Rajitha R
> Assignee: Rajitha R
> Fix For: 2.8
>
> Attachments: LENS-1493.patch
>
>
> The totalQueryCost method in DefaultEstimatedQueryCollection is throwing
> following error :
> Error in query submitter
> java.lang.ClassCastException:
> org.apache.lens.server.api.query.cost.FactPartitionBasedQueryCost cannot be
> cast to org.apache.lens.server.api.query.cost.StaticQueryCost
> at
> org.apache.lens.server.api.query.cost.StaticQueryCost.add(StaticQueryCost.java:33)
>
> at
> org.apache.lens.server.query.collect.DefaultEstimatedQueryCollection.getTotalQueryCost(DefaultEstimatedQueryCollection.java:171)
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)