Pentaho Mondrian Schema: left join of fact table with dimension table

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 01:07:28

问题


I have integrated Pentaho5 EE with Impala. In my schema dimension values are not gathered from the fact table as it is a huge table and it takes too long to calculate them. Since dimension values come dimension tables Mondrian compiles a query which does a join of dimension table with fact table in that order (i.e dimension table on the left). The query this way is slow and I read on the Cloudera website that if you do a join in Impala the bigger table (the fact table) has to be on the right.

I did compare compare the query compiled by Mondrian directly in Impala and when I put the fact table on the left in the join it is much much faster. My question is: Is there a mondrian/analyzer property setting which I can use to enable such behavior as currently Mondrian always joins with dimension table on the left. Also, is there a Hadoop plug in for Pentaho that you would recommend that would improve performance of Pentaho with Impala?

来源:https://stackoverflow.com/questions/30861151/pentaho-mondrian-schema-left-join-of-fact-table-with-dimension-table

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!