Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently the fact keys used in SQL are part of group by clause by default. If single row functions e.g case, having fact keys part of it and used in an aggregate expression such keys need to be removed from fact subquery group by clause.
Eg. sum(case when fact.key1 = '123' then msr1 when fact.key2 = '345' then msr2 end)
Attachments
Attachments
Issue Links
- relates to
-
LENS-846 Not all filters on fact is getting push down
- Open