[
https://issues.apache.org/jira/browse/LENS-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481134#comment-14481134
]
Himanshu Gahlaut commented on LENS-481:
---------------------------------------
Is data with holes == partial data ? If yes, what are the use cases for
allowing query on data with holes ?
> LeastPartitionResolver should check for actual partitions and not requested
> partitions when lens.cube.query.fail.if.data.partial=false
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: LENS-481
> URL: https://issues.apache.org/jira/browse/LENS-481
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Angad Singh
> Assignee: Rajat Khandelwal
>
> Currently LeastPartitionResolver prunes facts based on the desired/requested
> partitions of facts (based on granularity). Consider a cube with 2 facts -
> one at daily granularity and one of monthly. Suppose the monthly fact is
> registered with no partitions and the daily fact has 1 partitions. when you
> query on a year-long time range, the LeastPartitionResolver spuriously prunes
> the daily fact (even though it had data) and selects the monthly cube (which
> doesn't have any data), and runs the query (giving no output).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)