Rajitha R created LENS-1493:
-------------------------------
Summary: 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
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)