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

Kylin supports column count aggregation

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: v3.0.0
    • Component/s: Query Engine
    • Labels:
      None

      Description

      Kylin目前只支持对常量1进行count聚合预计算,即count(1),count(col_1)的查询内部全部重写到对count(1)的查询,这样会导致一个问题:当col_1列中存在null值时,count(col_1)的查询结果并不准确。这样就导致Kylin的查询结果和Hive、Spark等不一致。该Patch中,提供了对count(col_1)的支持。

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xbirbird xiaodongzhang
                Reporter:
                xbirbird xiaodongzhang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: