Uploaded image for project: 'Apache Lens'
  1. Apache Lens
  2. LENS-773

Wrong Cost Calculation in case of HIVE Dimension Query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: server
    • Labels:
      None

      Description

      Query : cube select id,name from sample_dim2 where name != 'first'

      This should be answerable from hive and hence its cost should be non-zero.
      But getting the cost as zero.

      <lensAPIResult><id>580cf6df-35b3-4f73-9013-c304418a3904</id><data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="queryCostTO"><estimatedResourceUsage>0.0</estimatedResourceUsage><type>LOW</type></data></lensAPIResult>
      

        Attachments

        1. LENS-773.patch
          4 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              arshadmatin20 Arshad Matin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: