[jira] [Commented] (LENS-614) Support single columns as expressions - more like alias

2016-09-02 Thread Archana H (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458397#comment-15458397
 ] 

Archana H commented on LENS-614:


new expression:

  


cube select product_id, store_sales_expr from sales where 
time_range_in(order_time, '2015-04-11-00', '2015-04-13-00')

Final rewritten query for driver: jdbc/jdbc1 is: SELECT (sales.product_id), 
sum((sales.store_sales)) FROM exp_yoda.mydb_sales_aggr_fact2 sales WHERE 
(((sales.order_time) between '2015-04-11 00:00:00' and '2015-04-12 00:00:00')) 
GROUP BY (sales.product_id)


> Support single columns as expressions - more like alias
> ---
>
> Key: LENS-614
> URL: https://issues.apache.org/jira/browse/LENS-614
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-614.2.patch, LENS-614.3.patch
>
>
> Right now seeing issues with single column expressions.
> It is not putting aggregate around if the column is an expression. Also not 
> replacing alias correctly if an alias is passed.



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


[jira] [Commented] (LENS-614) Support single columns as expressions - more like alias

2016-05-11 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15280024#comment-15280024
 ] 

Hadoop QA commented on LENS-614:


Applied patch: 
[LENS-614.3.patch|https://issues.apache.org/jira/secure/attachment/12803375/LENS-614.3.patch]
 and ran command: mvn clean install -fae. Result: Success. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/427/

> Support single columns as expressions - more like alias
> ---
>
> Key: LENS-614
> URL: https://issues.apache.org/jira/browse/LENS-614
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-614.2.patch, LENS-614.3.patch
>
>
> Right now seeing issues with single column expressions.
> It is not putting aggregate around if the column is an expression. Also not 
> replacing alias correctly if an alias is passed.



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


[jira] [Commented] (LENS-614) Support single columns as expressions - more like alias

2016-05-11 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15279966#comment-15279966
 ] 

Hadoop QA commented on LENS-614:


Applied patch: 
[LENS-614.3.patch|https://issues.apache.org/jira/secure/attachment/12803375/LENS-614.3.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/426/

> Support single columns as expressions - more like alias
> ---
>
> Key: LENS-614
> URL: https://issues.apache.org/jira/browse/LENS-614
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-614.2.patch, LENS-614.3.patch
>
>
> Right now seeing issues with single column expressions.
> It is not putting aggregate around if the column is an expression. Also not 
> replacing alias correctly if an alias is passed.



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


[jira] [Commented] (LENS-614) Support single columns as expressions - more like alias

2016-05-11 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15279781#comment-15279781
 ] 

Hadoop QA commented on LENS-614:


Applied patch: 
[LENS-614.3.patch|https://issues.apache.org/jira/secure/attachment/12803375/LENS-614.3.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/425/

> Support single columns as expressions - more like alias
> ---
>
> Key: LENS-614
> URL: https://issues.apache.org/jira/browse/LENS-614
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-614.2.patch, LENS-614.3.patch
>
>
> Right now seeing issues with single column expressions.
> It is not putting aggregate around if the column is an expression. Also not 
> replacing alias correctly if an alias is passed.



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


[jira] [Commented] (LENS-614) Support single columns as expressions - more like alias

2016-05-01 Thread Amareshwari Sriramadasu (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15266133#comment-15266133
 ] 

Amareshwari Sriramadasu commented on LENS-614:
--

Review request - https://reviews.apache.org/r/46884/

> Support single columns as expressions - more like alias
> ---
>
> Key: LENS-614
> URL: https://issues.apache.org/jira/browse/LENS-614
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>
> Right now seeing issues with single column expressions.
> It is not putting aggregate around if the column is an expression. Also not 
> replacing alias correctly if an alias is passed.



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