You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2014/12/16 12:15:13 UTC
[jira] [Created] (LENS-136) Cube ql to Hive ql translation should
use aliases across groupby and select
Rajat Khandelwal created LENS-136:
-------------------------------------
Summary: Cube ql to Hive ql translation should use aliases across groupby and select
Key: LENS-136
URL: https://issues.apache.org/jira/browse/LENS-136
Project: Apache Lens
Issue Type: Improvement
Reporter: Rajat Khandelwal
cube query:
{noformat}
cube select msr1 from cube1 group by expr(fields)
{noformat}
hive query(in current logic):
{noformat}
select expr(fields), sum(msr1) .... group by expr(fields)
{noformat}
expr(fields) should be aliased in select and that alias should be used in group by.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)