[ https://issues.apache.org/jira/browse/LENS-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajitha R updated LENS-1493: ---------------------------- Attachment: LENS-1493.patch > 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 > 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)