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 (JIRA)" <ji...@apache.org> on 2015/12/11 08:41:11 UTC
[jira] [Updated] (LENS-885) Cleanup of Cube test cases
[ https://issues.apache.org/jira/browse/LENS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajat Khandelwal updated LENS-885:
----------------------------------
Status: Patch Available (was: In Progress)
> Cleanup of Cube test cases
> --------------------------
>
> Key: LENS-885
> URL: https://issues.apache.org/jira/browse/LENS-885
> Project: Apache Lens
> Issue Type: Sub-task
> Components: build
> Reporter: Rajat Khandelwal
> Assignee: Rajat Khandelwal
> Attachments: LENS-885.03.patch
>
>
> * Some functions are wrongly placed. e.g. DateUtil.getCeilDate(date, updatePeriod) can be better expressed as updatePeriod.getCeilDate(date).
> * Date parsing from query can be cached
> * There is a bloat of Date variables in CubeTestSetup, organize them and only keep named variables for the most used ones
> * Unify time range clause creation across test cases. Right now, tests create time ranges as and when needed. Remove repetition and redundancies.
> * Correct names to variables
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)