Re: Review Request 68315: Start and end time for Cubes

2018-08-16 Thread Amareshwari Sriramadasu

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


Ship it!




Ship It!

- Amareshwari Sriramadasu


On Aug. 14, 2018, 2:50 p.m., Rajitha R wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68315/
> ---
> 
> (Updated Aug. 14, 2018, 2:50 p.m.)
> 
> 
> Review request for lens and Amareshwari Sriramadasu.
> 
> 
> Bugs: LENS-1525
> https://issues.apache.org/jira/browse/LENS-1525
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Introducing start and end time feature in cube properties to restrict user 
> queries from including past and future date ranges.
> 
> 
> Diffs
> -
> 
>   lens-api/src/main/resources/cube-0.1.xsd 4d10d24 
>   lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java 
> ed076e2 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/Cube.java 7c3da2c 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeInterface.java 
> 6477a6b 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/DerivedCube.java 
> 4c73785 
>   
> lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java 
> 945fe26 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
> 8e77a82 
>   lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java 
> c4404f1 
>   
> lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeStartAndEndTimes.java
>  PRE-CREATION 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
> 181608f 
>   lens-cube/src/test/resources/schema/cubes/base/testcube.xml 4cafd31 
> 
> 
> Diff: https://reviews.apache.org/r/68315/diff/3/
> 
> 
> Testing
> ---
> 
> [INFO] 
> [INFO] Lens Checkstyle Rules .. SUCCESS [  5.814 
> s]
> [INFO] Lens ... SUCCESS [  9.893 
> s]
> [INFO] Lens API ... SUCCESS [01:05 
> min]
> [INFO] Lens API for server and extensions . SUCCESS [ 52.959 
> s]
> [INFO] Lens Cube .. SUCCESS [10:16 
> min]
> [INFO] Lens DB storage  SUCCESS [01:11 
> min]
> [INFO] Lens Query Library . SUCCESS [ 44.173 
> s]
> [INFO] Lens Hive Driver ... SUCCESS [02:41 
> min]
> [INFO] Lens Driver for JDBC ... SUCCESS [02:44 
> min]
> [INFO] Lens Elastic Search Driver . SUCCESS [ 53.534 
> s]
> [INFO] Lens Server  SUCCESS [15:06 
> min]
> [INFO] Lens client  SUCCESS [02:35 
> min]
> [INFO] Lens CLI ... SUCCESS [02:42 
> min]
> [INFO] Lens Examples .. SUCCESS [ 14.654 
> s]
> [INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  1.738 
> s]
> [INFO] Lens Distribution .. SUCCESS [ 21.231 
> s]
> [INFO] Lens ML Lib  SUCCESS [02:24 
> min]
> [INFO] Lens ML Ext Distribution ... SUCCESS [  9.879 
> s]
> [INFO] Lens Regression  SUCCESS [ 24.848 
> s]
> [INFO] Lens UI  SUCCESS [  8.120 
> s]
> [INFO] Lens Contrib ... SUCCESS [  1.567 
> s]
> [INFO] Lens Contributed Clients ... SUCCESS [  0.327 
> s]
> [INFO] Lens Python Client . SUCCESS [  0.502 
> s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 45:00 min
> [INFO] Finished at: 2018-08-13T13:12:18+05:30
> [INFO] Final Memory: 261M/1420M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Rajitha R
> 
>



Re: Review Request 68315: Start and end time for Cubes

2018-08-14 Thread Rajitha R

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

(Updated Aug. 14, 2018, 2:50 p.m.)


Review request for lens and Amareshwari Sriramadasu.


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


Repository: lens


Description
---

Introducing start and end time feature in cube properties to restrict user 
queries from including past and future date ranges.


Diffs (updated)
-

  lens-api/src/main/resources/cube-0.1.xsd 4d10d24 
  lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java 
ed076e2 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/Cube.java 7c3da2c 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeInterface.java 
6477a6b 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/DerivedCube.java 
4c73785 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java 
945fe26 
  lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
8e77a82 
  lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java 
c4404f1 
  
lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeStartAndEndTimes.java
 PRE-CREATION 
  lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
181608f 
  lens-cube/src/test/resources/schema/cubes/base/testcube.xml 4cafd31 


Diff: https://reviews.apache.org/r/68315/diff/3/

Changes: https://reviews.apache.org/r/68315/diff/2-3/


Testing
---

[INFO] 
[INFO] Lens Checkstyle Rules .. SUCCESS [  5.814 s]
[INFO] Lens ... SUCCESS [  9.893 s]
[INFO] Lens API ... SUCCESS [01:05 min]
[INFO] Lens API for server and extensions . SUCCESS [ 52.959 s]
[INFO] Lens Cube .. SUCCESS [10:16 min]
[INFO] Lens DB storage  SUCCESS [01:11 min]
[INFO] Lens Query Library . SUCCESS [ 44.173 s]
[INFO] Lens Hive Driver ... SUCCESS [02:41 min]
[INFO] Lens Driver for JDBC ... SUCCESS [02:44 min]
[INFO] Lens Elastic Search Driver . SUCCESS [ 53.534 s]
[INFO] Lens Server  SUCCESS [15:06 min]
[INFO] Lens client  SUCCESS [02:35 min]
[INFO] Lens CLI ... SUCCESS [02:42 min]
[INFO] Lens Examples .. SUCCESS [ 14.654 s]
[INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  1.738 s]
[INFO] Lens Distribution .. SUCCESS [ 21.231 s]
[INFO] Lens ML Lib  SUCCESS [02:24 min]
[INFO] Lens ML Ext Distribution ... SUCCESS [  9.879 s]
[INFO] Lens Regression  SUCCESS [ 24.848 s]
[INFO] Lens UI  SUCCESS [  8.120 s]
[INFO] Lens Contrib ... SUCCESS [  1.567 s]
[INFO] Lens Contributed Clients ... SUCCESS [  0.327 s]
[INFO] Lens Python Client . SUCCESS [  0.502 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 45:00 min
[INFO] Finished at: 2018-08-13T13:12:18+05:30
[INFO] Final Memory: 261M/1420M
[INFO] 


Thanks,

Rajitha R



Re: Review Request 68315: Start and end time for Cubes

2018-08-13 Thread Rajitha R

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

(Updated Aug. 13, 2018, 11:09 p.m.)


Review request for lens and Amareshwari Sriramadasu.


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


Repository: lens


Description
---

Introducing start and end time feature in cube properties to restrict user 
queries from including past and future date ranges.


Diffs
-

  lens-api/src/main/resources/cube-0.1.xsd 4d10d24 
  lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java 
ed076e2 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/Cube.java 7c3da2c 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeInterface.java 
6477a6b 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/DerivedCube.java 
4c73785 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java 
945fe26 
  lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
8e77a82 
  lens-cube/src/test/java/org/apache/lens/cube/metadata/CubeTest.java 
PRE-CREATION 


Diff: https://reviews.apache.org/r/68315/diff/2/


Testing
---

[INFO] 
[INFO] Lens Checkstyle Rules .. SUCCESS [  5.814 s]
[INFO] Lens ... SUCCESS [  9.893 s]
[INFO] Lens API ... SUCCESS [01:05 min]
[INFO] Lens API for server and extensions . SUCCESS [ 52.959 s]
[INFO] Lens Cube .. SUCCESS [10:16 min]
[INFO] Lens DB storage  SUCCESS [01:11 min]
[INFO] Lens Query Library . SUCCESS [ 44.173 s]
[INFO] Lens Hive Driver ... SUCCESS [02:41 min]
[INFO] Lens Driver for JDBC ... SUCCESS [02:44 min]
[INFO] Lens Elastic Search Driver . SUCCESS [ 53.534 s]
[INFO] Lens Server  SUCCESS [15:06 min]
[INFO] Lens client  SUCCESS [02:35 min]
[INFO] Lens CLI ... SUCCESS [02:42 min]
[INFO] Lens Examples .. SUCCESS [ 14.654 s]
[INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  1.738 s]
[INFO] Lens Distribution .. SUCCESS [ 21.231 s]
[INFO] Lens ML Lib  SUCCESS [02:24 min]
[INFO] Lens ML Ext Distribution ... SUCCESS [  9.879 s]
[INFO] Lens Regression  SUCCESS [ 24.848 s]
[INFO] Lens UI  SUCCESS [  8.120 s]
[INFO] Lens Contrib ... SUCCESS [  1.567 s]
[INFO] Lens Contributed Clients ... SUCCESS [  0.327 s]
[INFO] Lens Python Client . SUCCESS [  0.502 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 45:00 min
[INFO] Finished at: 2018-08-13T13:12:18+05:30
[INFO] Final Memory: 261M/1420M
[INFO] 


Thanks,

Rajitha R