Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3946

No cube for AVG measure after include count column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v2.6.1
    • v3.0.0-alpha2
    • Query Engine
    • None

    Description

      Before, avg(col) will use sum(col)/count(1) to calculate.

      After including count column aggregation KYLIN-3883, avg(col) will use sum(col)/count(col) to calculate. 

      If there is no predefined count(col) measure, query with avg(col) will get exception "NoRealizationFoundException: No realization found for OLAPContext", which will effect the query on old cubes. So we should consider compatibility.

      Attachments

        Issue Links

          Activity

            People

              Wayne0101 Chao Long
              Wayne0101 Chao Long
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: