[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1468:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1468: Expressions in having clauses are not getting rewritten 
(raju.bairishetti: rev 2772efb275742eb4c03da5e7635bdbcfab63cebc)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java
* (edit) lens-cube/src/test/resources/schema/cubes/derived/der2.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestBaseCubeQueries.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml


> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-09-03 Thread Hudson (JIRA)

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

Hudson commented on LENS-1468:
--

SUCCESS: Integrated in Jenkins build Lens-Commit #1437 (See 
[https://builds.apache.org/job/Lens-Commit/1437/])
LENS-1468: Expressions in having clauses are not getting rewritten 
(rajatgupta59: rev b4cc2ed8af533fc9d7310452b6c7e12d7ac7afac)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java
* (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml
* (edit) lens-cube/src/test/resources/schema/cubes/derived/der2.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestBaseCubeQueries.java


> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.8
>
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-09-03 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1468:


Committed myself.

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.8
>
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-09-01 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1468:
-

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

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-08-30 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1468:
-

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

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-08-30 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1468:


Taking patch from reviewboard and attaching

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-08-30 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1468:
-

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

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1468.01.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-08-30 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1468:


Taking patch from reviewboard and attaching

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1468.01.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2017-08-30 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1468:


Created https://reviews.apache.org/r/61992/

> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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