[
https://issues.apache.org/jira/browse/LENS-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajat Khandelwal updated LENS-14:
---------------------------------
Attachment: LENS-14.1.patch
modifying test case setup. Without the change it fails with error that no fact
could be chosen because everyone had more_weight.
> Lightest fact first config wont work with more than one storage
> ---------------------------------------------------------------
>
> Key: LENS-14
> URL: https://issues.apache.org/jira/browse/LENS-14
> Project: Apache Lens
> Issue Type: Bug
> Components: cube
> Affects Versions: 2.0
> Reporter: Amareshwari Sriramadasu
> Assignee: Rajat Khandelwal
> Fix For: 2.0
>
> Attachments: LENS-14.0.patch, LENS-14.1.patch
>
>
> With lightest fact resolver first config enabled, it would pick only one
> lightest fact to be lightest. And storage table resolver might skip it if
> current driver cannot work on the storage chosen.
> The problem is StorageTableResolver resolves supported storages, final
> storage tables and also checks for partitions available in tables. The
> solution is to split StorageTableResolver into two resolvers sothat we first
> apply storage table resolver to find supported storages and storage tables.
> If lightest fact first config enabled, then apply LightestFactResolver and
> then apply storage partition resolver, which checks for partition existence
> on the fact storage tables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)