You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2016/08/10 10:19:20 UTC

[jira] [Created] (LENS-1273) FieldValidator should skip dim-attributes in aggregate expressions

Amareshwari Sriramadasu created LENS-1273:
---------------------------------------------

             Summary: FieldValidator should skip dim-attributes in aggregate expressions
                 Key: LENS-1273
                 URL: https://issues.apache.org/jira/browse/LENS-1273
             Project: Apache Lens
          Issue Type: Improvement
          Components: cube
            Reporter: Amareshwari Sriramadasu
            Assignee: Amareshwari Sriramadasu
             Fix For: 2.7


Right now, users write query like the following :

select sum(case when dim1=x then msr1 else 0 end), msr2 from cube where time_range_in(...)

And if dim1 and msr2 are not queryable, query fails saying Fields cannot be queried together.

but the query should be accepted.

The same works fine if the above is created as cube expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)