Angad Singh created LENS-481:
--------------------------------
Summary: 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
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).
Lens server logs with the above scenario:
{noformat}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)