[ 
https://issues.apache.org/jira/browse/LENS-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296652#comment-16296652
 ] 

Puneet Gupta commented on LENS-1493:
------------------------------------

Committed. Thanks [~rajitha.r]

> 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)

Reply via email to