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

No cube for AVG measure after include count column

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.6.1
    • Fix Version/s: v3.0.0-alpha2
    • Component/s: Query Engine
    • Labels:
      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

              • Assignee:
                Wayne0101 Chao Long
                Reporter:
                Wayne0101 Chao Long
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: