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 2014/11/14 07:28:33 UTC

[jira] [Created] (LENS-14) Lightest fact first config wont work with more than one storage

Amareshwari Sriramadasu created LENS-14:
-------------------------------------------

             Summary: 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
            Reporter: Amareshwari Sriramadasu


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)