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

columns in metric could also be in filter/groupby

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.2
    • Component/s: None
    • Labels:
      None

      Description

      select sum(a.price) as x, count(distinct a.sellerid) as y from fact a where a.sellerid in (1,2,3) group by a.date LIMIT 50000

      the above query might fail because currently in CubeStorageQuery.buildDimensionsAndMetrics, we exclude all measure columns from dimensions.

        Attachments

          Activity

            People

            • Assignee:
              mahongbin Hongbin Ma
              Reporter:
              mahongbin Hongbin Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: