[
https://issues.apache.org/jira/browse/LENS-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sushil Mohanty updated LENS-1028:
---------------------------------
Attachment: LENS-1028-7.patch
Attached patch has fix for this along with a unit test to validate.
{CODE}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 396, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,104.591 sec
- in TestSuite
Results :
Tests run: 396, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:17.422s
[INFO] Finished at: Tue May 17 17:34:07 IST 2016
[INFO] Final Memory: 65M/1508M
[INFO] ------------------------------------------------------------------------
{CODE}
> Convert dimension filter to fact filters for perfomace improvement on outer
> join queries
> ----------------------------------------------------------------------------------------
>
> Key: LENS-1028
> URL: https://issues.apache.org/jira/browse/LENS-1028
> Project: Apache Lens
> Issue Type: Improvement
> Components: cube
> Reporter: Sushil Mohanty
> Assignee: Sushil Mohanty
> Fix For: 2.6
>
> Attachments: LENS-1028-6.patch, LENS-1028-7.patch
>
>
> Filters like the following can be converted to fact filters. This will help
> in improving query performance by pushing down filter to driving table i.e
> fact.
> e.g.
> where dim.name in ('x', 'y')
> becomes
> where fact.dimid in (select dim.id from dim where dim.name in ('x','y'))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)