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

Review request for lens.


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


Repository: lens


Description
-------

Currently Columnar rewriter skips rewrite in case of expressions used in select 
query. This ticket is to add the improvement in the rewriter to rewrite them 
and pushdown to fact subquery.


Diffs
-----

  
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/ColumnarSQLRewriter.java
 8a98c57 
  
lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestColumnarSQLRewriter.java
 6b5fb6a 

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


Testing
-------

Added new test case, fixed existing test case where expression rewrite was 
skipped. mvn clean install workd fine.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules ............................. SUCCESS [2.305s]
[INFO] Lens .............................................. SUCCESS [3.134s]
[INFO] Lens API .......................................... SUCCESS [24.012s]
[INFO] Lens API for server and extensions ................ SUCCESS [20.975s]
[INFO] Lens Cube ......................................... SUCCESS [5:00.782s]
[INFO] Lens DB storage ................................... SUCCESS [19.993s]
[INFO] Lens Query Library ................................ SUCCESS [15.316s]
[INFO] Lens Hive Driver .................................. SUCCESS [2:47.214s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [36.914s]
[INFO] Lens Elastic Search Driver ........................ SUCCESS [16.264s]
[INFO] Lens Server ....................................... SUCCESS [7:48.097s]
[INFO] Lens client ....................................... SUCCESS [35.349s]
[INFO] Lens CLI .......................................... SUCCESS [2:37.148s]
[INFO] Lens Examples ..................................... SUCCESS [8.553s]
[INFO] Lens Distribution ................................. SUCCESS [8.560s]
[INFO] Lens ML Lib ....................................... SUCCESS [1:20.260s]
[INFO] Lens ML Ext Distribution .......................... SUCCESS [2.114s]
[INFO] Lens Regression ................................... SUCCESS [12.911s]
[INFO] Lens UI ........................................... SUCCESS [25.987s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23:26.819s
[INFO] Finished at: Thu Oct 15 16:20:31 UTC 2015
[INFO] Final Memory: 195M/2032M
[INFO] ------------------------------------------------------------------------


Thanks,

Sushil Mohanty

Reply via email to