Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1493

TotalQueryCost logic broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • server
    • None

    Description

      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)

      Attachments

        1. LENS-1493.patch
          5 kB
          Rajitha R

        Activity

          People

            rajitha.r Rajitha R
            rajitha.r Rajitha R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: