[jira] [Commented] (LENS-1474) Null pointer exception in expression resolver for Segmentation candidate

2017-09-09 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1474:
-

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

> Null pointer exception in expression resolver for Segmentation candidate
> 
>
> Key: LENS-1474
> URL: https://issues.apache.org/jira/browse/LENS-1474
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1474.patch
>
>
> This happens when there are two expressions . Say expr1 answered from fact 
> and expr2 answered from Segmentation. 
> Segmentation specific inner rewrite is passed expr1 as 0.0 and later in the 
> flow expr1 is looked up which throws up NullPointerException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1474) Null pointer exception in expression resolver for Segmentation candidate

2017-09-09 Thread Rajitha R (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajitha R updated LENS-1474:

Attachment: LENS-1474.patch

> Null pointer exception in expression resolver for Segmentation candidate
> 
>
> Key: LENS-1474
> URL: https://issues.apache.org/jira/browse/LENS-1474
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1474.patch
>
>
> This happens when there are two expressions . Say expr1 answered from fact 
> and expr2 answered from Segmentation. 
> Segmentation specific inner rewrite is passed expr1 as 0.0 and later in the 
> flow expr1 is looked up which throws up NullPointerException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1474) Null pointer exception in expression resolver for Segmentation candidate

2017-09-09 Thread Rajitha R (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajitha R updated LENS-1474:

Status: Patch Available  (was: Open)

> Null pointer exception in expression resolver for Segmentation candidate
> 
>
> Key: LENS-1474
> URL: https://issues.apache.org/jira/browse/LENS-1474
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
> Attachments: LENS-1474.patch
>
>
> This happens when there are two expressions . Say expr1 answered from fact 
> and expr2 answered from Segmentation. 
> Segmentation specific inner rewrite is passed expr1 as 0.0 and later in the 
> flow expr1 is looked up which throws up NullPointerException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: Review Request 62201: LENS-1474 : Null pointer in Segmentation rewrite

2017-09-09 Thread Amareshwari Sriramadasu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62201/#review185046
---


Ship it!




Ship It!

- Amareshwari Sriramadasu


On Sept. 9, 2017, 3:23 a.m., Rajitha R wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62201/
> ---
> 
> (Updated Sept. 9, 2017, 3:23 a.m.)
> 
> 
> Review request for lens and Puneet Gupta.
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Null pointer in Segmentation rewrite
> 
> 
> Diffs
> -
> 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java 
> 1268ef7 
> 
> 
> Diff: https://reviews.apache.org/r/62201/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Rajitha R
> 
>