You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/05/19 12:04:00 UTC

[jira] [Updated] (LENS-566) Add start time for fact as a fact property

     [ https://issues.apache.org/jira/browse/LENS-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated LENS-566:
-----------------------------------------
    Description: 
When new facts are added and are populated with data from some time onwards, having start time property on the facts should help picking eligible facts for given range.

Without the property, if a light fact is added from a later time and with lightest fact first flag on, the queries cannot be answered from older range. This causes queries to fail.

Similarly we can add end time as well for the fact. 

Also, there could be some facts on which data is valid from relative start time. For example : only 90 days of data is valid. Accepting relative start time will allow, even if drop partitions is not uptodate, query can pick proper facts.

  was:
When new facts are added and are populated with data from some time onwards, having start time property on the facts should help picking eligible facts for given range.

Without the property, if a light fact is added from a later time and with lightest fact first flag on, the queries cannot be answered from older range. This causes queries to fail.


> Add start time for fact as a fact property 
> -------------------------------------------
>
>                 Key: LENS-566
>                 URL: https://issues.apache.org/jira/browse/LENS-566
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: cube
>            Reporter: Amareshwari Sriramadasu
>            Priority: Critical
>
> When new facts are added and are populated with data from some time onwards, having start time property on the facts should help picking eligible facts for given range.
> Without the property, if a light fact is added from a later time and with lightest fact first flag on, the queries cannot be answered from older range. This causes queries to fail.
> Similarly we can add end time as well for the fact. 
> Also, there could be some facts on which data is valid from relative start time. For example : only 90 days of data is valid. Accepting relative start time will allow, even if drop partitions is not uptodate, query can pick proper facts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)