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 <ra...@gmail.com> on 2014/12/12 13:57:32 UTC

Review Request 28994: LENS-115: Pass most recent conf in to HiveQueryPlan from HiveDriver in explain path instead of driverconf

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

Review request for lens.


Bugs: LENS-115
    https://issues.apache.org/jira/browse/LENS-115


Repository: lens


Description
-------

LENS-115: Pass most recent conf in to HiveQueryPlan from HiveDriver in explain path instead of driverconf


Diffs
-----

  lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java 8022b7a 
  lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java 96768cd 

Diff: https://reviews.apache.org/r/28994/diff/


Testing
-------


Thanks,

Rajat Khandelwal


Re: Review Request 28994: LENS-115: Pass most recent conf in to HiveQueryPlan from HiveDriver in explain path instead of driverconf

Posted by Rajat Khandelwal <ra...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28994/
-----------------------------------------------------------

(Updated Dec. 12, 2014, 6:12 p.m.)


Review request for lens.


Bugs: LENS-115
    https://issues.apache.org/jira/browse/LENS-115


Repository: lens


Description
-------

LENS-115: Pass most recent conf in to HiveQueryPlan from HiveDriver in explain path instead of driverconf


Diffs
-----

  lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java 8022b7a 
  lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java 96768cd 

Diff: https://reviews.apache.org/r/28994/diff/


Testing (updated)
-------

One test case is failing for me. Going back to master branch and building also results in test case failure. 

java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at org.apache.lens.cube.parse.TestCubeRewriter.compareQueries(TestCubeRewriter.java:258)
	at org.apache.lens.cube.parse.TestTimeRangeWriterWithQuery.testCubeQueryWithTimeDim(TestTimeRangeWriterWithQuery.java:172)


	Expected: select hourdim.full_hour, sum(testcube.msr2) FROM TestQueryRewrite.c4_testfact testCube join TestQueryRewrite.c4_hourDimTbl hourdim on testcube.test_time_dim_hour_id  = hourdim.id WHERE ( (hourdim.full_hour BETWEEN '2014-12-10 19:00:00' AND '2014-12-12 18:00:00') ) GROUP BY hourdim.full_hour
	---------
	Actual: SELECT ( hourdim . full_hour ), sum(( testcube . msr2 )) FROM TestQueryRewrite.c4_testfact testcube join TestQueryRewrite.c4_hourdimtbl hourdim on testcube.test_time_dim_hour_id2 = hourdim.id WHERE ((( hourdim . full_hour ) between  '2014-12-10 19:00:00'  and  '2014-12-12 18:00:00' )) GROUP BY ( hourdim . full_hour )
    
    
    
    


Thanks,

Rajat Khandelwal


Re: Review Request 28994: LENS-115: Pass most recent conf in to HiveQueryPlan from HiveDriver in explain path instead of driverconf

Posted by Amareshwari Sriramadasu <am...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28994/#review64895
-----------------------------------------------------------

Ship it!


Ship It!

- Amareshwari Sriramadasu


On Dec. 12, 2014, 12:57 p.m., Rajat Khandelwal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28994/
> -----------------------------------------------------------
> 
> (Updated Dec. 12, 2014, 12:57 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-115
>     https://issues.apache.org/jira/browse/LENS-115
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> LENS-115: Pass most recent conf in to HiveQueryPlan from HiveDriver in explain path instead of driverconf
> 
> 
> Diffs
> -----
> 
>   lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java 8022b7a 
>   lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java 96768cd 
> 
> Diff: https://reviews.apache.org/r/28994/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Rajat Khandelwal
> 
>