Quantcast
Channel: Pentaho Community Forums
Viewing all 16689 articles
Browse latest View live

Problem with MS Access Connexion

$
0
0
Hello,

First of all, sorry for my bad english.. :(
I'm totally a newby on Pentaho and I think my question is maybe quite stupid and easy to answer. I have read a lot of topics on forums but i didn't find a solution to my problem.

I'm trying since a few days to create a connexion with an Access Data Base (.mdb)
I always have this error message :

Code:

Erreur lors de la connexion à la Base de données [BDD] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Driver class 'sun.jdbc.odbc.JdbcOdbcDriver' could not be found, make sure the 'MS Access' driver (jar file) is installed.
sun.jdbc.odbc.JdbcOdbcDriver


org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Driver class 'sun.jdbc.odbc.JdbcOdbcDriver' could not be found, make sure the 'MS Access' driver (jar file) is installed.
sun.jdbc.odbc.JdbcOdbcDriver


    at org.pentaho.di.core.database.Database.normalConnect(Database.java:427)
    at org.pentaho.di.core.database.Database.connect(Database.java:361)
    at org.pentaho.di.core.database.Database.connect(Database.java:314)
    at org.pentaho.di.core.database.Database.connect(Database.java:302)
    at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:80)
    at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2685)
    at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:546)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141)
    at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:43)
    at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:138)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:389)
    at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:318)
    at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:116)
    at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:59)
    at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:87)
    at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:3087)
    at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:3022)
    at org.pentaho.di.ui.spoon.Spoon.access$2400(Spoon.java:343)
    at org.pentaho.di.ui.spoon.Spoon$28.widgetDefaultSelected(Spoon.java:6118)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1310)
    at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7931)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9202)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:648)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Driver class 'sun.jdbc.odbc.JdbcOdbcDriver' could not be found, make sure the 'MS Access' driver (jar file) is installed.
sun.jdbc.odbc.JdbcOdbcDriver

    at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:502)
    at org.pentaho.di.core.database.Database.normalConnect(Database.java:410)
    ... 45 more
Caused by: java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:477)
    ... 46 more

Nom Serveur hôte :
Numéro Port : 1521
Base de données : BDD



I'm pretty sure that i have created correctly my ODBC link. So what is the problem ?
Should I add another .jar file in the directory /lib ? And which one ?

Sorry again for my bad english. Thank you in advance for your answers.

Merge rows (diff) and synchronize with nulls

$
0
0
Could you please explain the behavior of this stage: I compare 2 flows with NULLs in the update field. But Merge rows (diff) marks these rows as "identical". How could I update them?

Problem with Mondrian 3.8.0.0-209 (not in 3.6.1)

$
0
0
Hi,
I'm moving one of my projects from Pentaho 5.1 to Pentaho 5.2 and I found one problem with new Mondrian jar.
I was able to isolate the MDX query that gives the problem:

with set [Mesi] as 'Filter(Descendants([PeriodoPartenza].[2013], [PeriodoPartenza].[MesePartenza]), NOT ([PeriodoPartenza].CurrentMember.Name MATCHES ".*/00"))'
select Crossjoin({[Measures].[Num_Pratiche]}, [Mesi]) ON COLUMNS,
NON EMPTY Filter({[Age-Agente].[Age-Agente].Members}, NOT ([Measures].[Num_Pratiche] IS EMPTY)) ON ROWS
from [Prenotazioni]
where ([Pren-Flag Core Biz].[S], [PeriodoPrenotazione].[All], [PerPart-YTD].[All], [PerPren-YTD].[S], [Pren-Tipo Vendita].[All], [Pren-Filiale].[All])

It seems the problem happens during evaluation of the Named Set [Mesi]
This is an extraction from Mondrian log:

2015-01-02 09:40:57,283 DEBUG [mondrian.olap.ResultBase] Named set Mesi: starting evaluation
2015-01-02 09:40:57,283 DEBUG [mondrian.rolap.RolapCube] RolapCube.getUsages: name=Measures
2015-01-02 09:40:57,283 DEBUG [mondrian.rolap.RolapNativeSet] using native filter
2015-01-02 09:40:57,346 DEBUG [mondrian.sql] 9: SqlTupleReader.readTuples [[PeriodoPartenza].[MesePartenza]]: executing sql [select "dim_timeperiod"."year_pers" as "c0", "dim_timeperiod"."qtr_pers" as "c1", "dim_timeperiod"."month_pers" as "c2" from "dim_timeperiod" as "dim_timeperiod", "dim_timeperiod" as "dim_timeperiod_1", "dim_prenotazioni" as "dim_prenotazioni" where ("dim_timeperiod_1"."ytd" = 'S') and ("dim_prenotazioni"."flagcorebiz" = 'S') group by "dim_timeperiod"."year_pers", "dim_timeperiod"."qtr_pers", "dim_timeperiod"."month_pers" having NOT((cast("dim_timeperiod"."month_pers" as text) ~ '.*/00') ) order by "dim_timeperiod"."year_pers" ASC NULLS LAST, "dim_timeperiod"."qtr_pers" ASC NULLS LAST, "dim_timeperiod"."month_pers" ASC NULLS LAST]
2015-01-02 09:40:57,377 DEBUG [mondrian.server.monitor] SqlStatementStartEvent(9)



This query takes 3 tables but does not include any link among them. These tables are dimensions linked in a star schema to the facts table that is non included in the query.

If I replace the mondrian jar with the one from Pentaho 5.1 (mondrian-3.6.1.jar) it works fine. This is the extraction from log:

2015-01-02 09:06:13,038 DEBUG [mondrian.sql] 4: SqlTupleReader.readTuples [[PeriodoPartenza].[MesePartenza]]: executing sql [select "dim_timeperiod"."year_pers" as "c0", "dim_timeperiod"."qtr_pers" as "c1", "dim_timeperiod"."month_pers" as "c2" from "dim_timeperiod" as "dim_timeperiod", "facts_prenotazioni" as "facts_prenotazioni", "dim_timeperiod" as "dim_timeperiod_1", "dim_prenotazioni" as "dim_prenotazioni" where "facts_prenotazioni"."dt_part_int" = "dim_timeperiod"."dataint" and "facts_prenotazioni"."dt_pren_int" = "dim_timeperiod_1"."dataint" and "dim_timeperiod_1"."ytd" = 'S' and "facts_prenotazioni"."pren_fk" = "dim_prenotazioni"."pren_pk" and "dim_prenotazioni"."flagcorebiz" = 'S' and ("dim_timeperiod"."year_pers" = '2013') group by "dim_timeperiod"."year_pers", "dim_timeperiod"."qtr_pers", "dim_timeperiod"."month_pers" having NOT((cast("dim_timeperiod"."month_pers" as text) ~ '.*/00') ) order by "dim_timeperiod"."year_pers" ASC NULLS LAST, "dim_timeperiod"."qtr_pers" ASC NULLS LAST, "dim_timeperiod"."month_pers" ASC NULLS LAST]
2015-01-02 09:06:13,820 DEBUG [mondrian.sql] 4: , exec 781 ms
2015-01-02 09:06:13,822 DEBUG [mondrian.sql] 4: , exec+fetch 784 ms, 12 rows


I will continue my project using the old jar but I think it could be useful to understand why Mondrian has this behaviour in this context.

Do not hesitate to ask me in case you need further details

Regards

Pentaho artifactory migration to nexus

$
0
0
Warning - tech entry ahead. You'll know if this is useful to you.

We migrated from artifactory to nexus. This means that some of the older branches / tags may fail when resolving. While we updated a bunch of config files, in order to try to maintain as much compatibility as possible the build team just told me they set up a reverse proxy to the old urls.

Here's the email I got from our build team:

We wanted to give you a heads-up that we are now reverse proxying http://repo.pentaho.org/artifactory/repo/ over to the Nexus omni group http://nexus.pentaho.org/content/groups/omni/


All the Artifactory repos have been migrated over to Nexus and we have cleaned up as many bad ivy.xml files as we could find.


Please keep an eye out for any community complaints regarding artifact resolution from repo.pentaho.org and let us know. We’ve done some testing (e.g. building an old 4.8 kettle tag), but it certainly is not exhaustive.


We will be taking both the internal and external Artifactory processes offline, but will leave the repos there for some time for backup/restore purposes until we feel we have been clear of any issues long enough.


Thanks,
Steve Maring
So let us know if you find something off. The Pentaho community mailing list is a good place

More...

Using current entry name in logging settings as variable

$
0
0
Hi,

Is it possible to use the actual entry name per variable in the field 'Name of logfile' in the 'logging settings' tab of the Transformation entry in a job?

entry variable.jpg

Bobse
Attached Images

Kettle repository problems

$
0
0
Hi, i have using Ketlle for a while and i have access problem to the reposotory. I have this problems:

1.- The access to the repository is slow.
2.- Load and Save is really slow.
3.- If 2 or 3 people are trying to connect to the repository at the same time, is almost imposible to access, after of a long while, the ketlle send me a message that say "deadlock found..." or something like that.

So Do you know how to improve this problems? Thank you very much in advance.

PS: Sorry for any typo, english is not my native language.

SVN + Pentaho data integration + Jenkins, how to use

$
0
0
Hi everyone,

Actually i'm using Kettle with Jenkins, is really useful and let me schedule and order all my jobs and transformations. So sometime i need to do a lot of change in this jobs, but also i want to save old version, currently the repository delete the old version, so i'm using svn to have all the versions.

So is some one else using this method?, i mean, someone know how to use run the svn location of kettle with jenkins?

Thank you very much in advance.

PS: Sorry for any typo, english is not my native language.

Can I change default thousands separator in Pentaho 5.2 ? (from USA format to eurpean

$
0
0
Hi all,
How can I change the separator of thousands from "," to "." in pentaho 5.2 (from USA format to eurpean format)?
in 4.8 can change the function toFormatedString in pentaho-solutions/system/pentaho-cdf/js/Dashboards.js, but in 5.2 this function does not exist.

Thanks in advance
Ettore

Best practice for supporting several databases like MySQL, MSSQL in transformations?

$
0
0
Hi all!

I've worked a couple of months now with PDI (Kettle) and I'm starting to feel comfortable now in creating ETL-jobs and webservices for delivering data in JSON and XML-format.

It's a very speedy tool for working with databases as it allows you to write SQL queries directly. But in my work I need to make tranformations (and some jobs) that can work both with MySQL and MSSQL databases. In 90% of the cases the same SQL-query will work in both databases but there are exotic cases when I need to write different SQL-queries depending on what kind of vendor database the transformation is working with. An example is when I need to call a stored procedure. In MSSQL I do like this:

Code:

execute sp_getProjects ${rb_id};
and in MySQL I need to do like this:

Code:

call sp_getProjects(${rb_id});
Now I wonder, what are your suggestions for best supporting different databases in PDI transformations? I would like to avoid managing several copies of my transformations as much as is possible.

I guess it could be done using database specific sub-transformations and having a variable in kettle.properties that determines what kind of database the system is using. But perhaps there is a smarter way that someone out there knows about?

SSH Commands - parsing stdOut to separate new fields

$
0
0
I am looking for some ways to parse out stdOut from a SSH command. When I run an SSH command I get the following stdOut value:

Fabric Interconnect:
ID OOB IP Addr OOB Gateway OOB Netmask Operability
---- --------------- --------------- --------------- -----------
A 3.156.167.19 3.156.167.1 255.255.255.0 Operable
B 3.156.167.20 3.156.167.1 255.255.255.0 Operable

I would like to just create 5 fields:

ID
OOB_IP_Addr
OOB_Gateway
OOB_Netmask
Operability

Any ideas on how to accomplish this? Thanks in advance!!!

KP

Using Map Component in marker mode with City and Country data

$
0
0
Hello,

I have a following problem with map component:
- I use map component in markers mode with data columns "City, Country, Description" on Pentaho 5.2
- Is Country considered when evaluating City name to position on a map? It doesn't seems.

The situation can be established by editing CDE sample:
- Public > plugin-samples > CDE > CDE Reference > Map Component Full Test > Datasources > ForMapWithGeo > Query
- After renaming city "Frankfurt" to "Dresden" in query code it doesn't take country into account and shows Dresden in the US, Ohio.

Any idea? Bug? Or country definition cannot be used along with city?

Martin

New to BI platform

$
0
0
hi guys,
I'm new to the BI platform and I have downloaded the Pentaho-Business Analytics 5.2 EE. I have about whether to download a community edition or enterprise edition. I want to use the anlyzer,interactive report,dashboard. Would any of you guys help me with this.


Thanks in advance
Ram

CST - Community Startup Tabs (Revamped)

$
0
0

A bit of history

4 years ago I wrote a blog post announcing CST - Community Startup Tabs. This project, sponsored at the time by St Antonius hospital, Netherlands, allowed a set of rules to be defined so that a set of content could be opened as a user logged in.

Those rules could be set by user, by role, a combination of both, and even a default for non matching rules. Very useful

The install procedure was very clunky... required fiddling with a jar file to set properties and used my so beloved xactions (not!) as the engine for it. Given this very... hum... architecturally challenging choice (aka hack) it was never possible to use it in 5.0

Till now. Another dutch company (gotta love this country!), this time 66Controls, sponsored the conversion of CST to 5.x and in good community spirit, also allowed us to share that work. Thanks guys!

CST (v2) available in the Pentaho Marketplace

It's been out for a couple of weeks, I just didn't have the time to write the blog post, but CST is now available in the Pentaho Marketplace.




Please check the CST website for a description of all the features. This is the main description (stolen from the site, which was in fact stolen from my original blog post, so I guess I don't need to give credits to myself :p ):

CST is the easiest way to define and implement the Pentaho startup tabs depending on the user that logs into the PUC (Pentaho User Console).

  • Provides an easier way to set different startup tabs for each user that logs into the PUC, based on its username or role;
  • Allows you to specify usernames or roles using regular expressions.

Ranging from a single institutional page to a list of dashboards or reports, among other contents, the tabs opened to each Pentaho User after logging into the PUC vary depending on the user preferences or his/her role in the company. Then why should we let Pentaho open always the same content for everyone?
Thanks to CST, the list of tabs opened right after the login can be automatically different, depending on the user profile.
A rewrite - In Sparkl, of course

This wasn't a simple port (not that the other ctools' port had anything of "simple"). This was mostly a rewrite, and as you may suspect, we ditched the xactions and used all mighty Sparkl. Here's the PDI transformation that processes the config file



And some very cool extra features

A new launcher for CST tabs

CST works really well when we don't have a lot of tabs; But when that number starts to grow, it can become very slow to just trigger the load of a bunch of analysis, reports and dashboards.

So we added a new way for CST to work; instead of automatically opening the tabs, we can opt to display a launcher dashboard with links to the tabs we have on our profile



This is controlled by an attribute named mode in the settings file, on the rule element, which means that you can set, individually, if you want the launcher to be displayed or maintain the classical behaviour.

Here's an example of this setting
This launcher is also available from the Tools menu (or as a simple sparkl endpoint available through /pentaho/plugin/cst/api/launcher)
Editing settings

Administrators can now edit the settings directly through Pentaho without the need to physically access the file. Functionality available from the tools menu.


Adding and removing favourites

CST adds a really cool capability - but has a very visible drawback; The list of tabs is preset by the administrator. Wouldn't it be cool if the user could set and manage their own list of start-up tabs?

Well - now they can! Since Pentaho 5 we have the concept of "favorites", and we are exposing this functionality through CST. If you mark a file as "favorite" you'll immediately see it on the launcher tab. And you can also "un-favoritize it" (is this even a word?!) from the launcher dashboard. An amazing feature IMO, worked out really well.



Cheers


-pedro



More...

Where to start with Pentaho CDF

$
0
0
Hi All,

I am very new to pentaho and I am using trail version of pentaho business analytics-5.2.0

I really Do not know Where can find BA server and how to start. In user console I have created some dashboards which is already there something like templates. But as it is open source I need to create my own customized dashboard so for that CDF is needed rite? where can I find CDF? and where I need to install tomcat? and in pentaho server I do not find biserver-ce but i can see biserver-ee.

Can anyone explain what is CTool? is this mandatory for CDF?

I have installed JDK7 and created JAVA_HOME variable too.

Please help me where to start to develop my own Dashboard(CDF)

Thread: Multi Value List parameter in MDX

$
0
0
Hi.

I'm using a MDX query with paremeters and the "where" clause is {StrToMember(Parameter("pYear", STRING, "[Date].[All]"))}

With the parameter of "Single Value List" type is working fine but I need to use the "Multi Value List" type (or Multi Selection Button) and thus does not work. The Report Designer returns this error:

org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: [Ljava.lang.Object;@753e299d is incorrect for type STRING
at org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractMDXDataFactory.computeParameterValue(AbstractMDXDataFactory.java:539)
at org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractMDXDataFactory.parametrizeQuery(AbstractMDXDataFactory.java:483)
at org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractMDXDataFactory.performQuery(AbstractMDXDataFactory.java:459)
at org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractNamedMDXDataFactory.performQuery(AbstractNamedMDXDataFactory.java:153)
at org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.BandedMDXDataFactory.queryData(BandedMDXDataFactory.java:54)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:205)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:182)
at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryInternal(CachingDataFactory.java:505)
at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryStatic(CachingDataFactory.java:181)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:200)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:182)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:69)
at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQueryData(DefaultFlowController.java:296)
at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:217)
at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.initializeForMasterReport(ProcessState.java:331)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:481)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1713)
at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:123)
at java.lang.Thread.run(Thread.java:745)

Someone can help me, please? :(

Amazon EC2 requirements for PDI

$
0
0
Hello All,

I have a random question on what the expected system requirements for PDI Installation on an Amazon EC2 Instance running Linux Centos should be?

Any ideas or suggestion are highly welcome since I am plan to have a dedicated instance for ETL.

Thanks,

Ron

Pentaho 4.8 + Saiku adhoc 1.0, wrong SQL query generated

$
0
0
I am using Pentaho 4.8 + Saiku adhoc 1.0, waiting for Saiku version 3.0 to be up and running in Pentaho 5.0

I am quite new to Pentaho and do not know how the SQL query is generated from Saiku Adhoc.
When using a very simple request involving 4 tables, the SQL query created is wrong.
When I test the query in the Query editor of Pentaho Metadata Editor, the result is correct using the 4 tables (so the metadata is good):
Code:

SELECT DISTINCT
          BT_PIR_PROJET_PIR_PROJET."name" AS COL0
        ,BT_PIR_AXE_PIR_AXE."name" AS COL1
        ,BT_RES_PARTNER_RES_PARTNER."name" AS COL2

FROM res_partner_ordered BT_RES_PARTNER_RES_PARTNER JOIN
    (
      pir_projet_structure BT_PIR_PROJET_STRUCTURE_PIR_PROJET_STRUCTURE JOIN
      (
      pir_projet_ordered BT_PIR_PROJET_PIR_PROJET LEFT OUTER JOIN pir_axe BT_PIR_AXE_PIR_AXE
      ON ( BT_PIR_PROJET_PIR_PROJET.axe_id = BT_PIR_AXE_PIR_AXE.id )
      )
      ON ( BT_PIR_PROJET_STRUCTURE_PIR_PROJET_STRUCTURE.projet_id = BT_PIR_PROJET_PIR_PROJET.id )
    )
    ON ( BT_PIR_PROJET_STRUCTURE_PIR_PROJET_STRUCTURE.structure_id = BT_RES_PARTNER_RES_PARTNER.id )

When designing the same query with Saiku Adhoc, one table is used twice and one is lacking:
Code:

SELECT DISTINCT
              BT_PIR_PROJET_PIR_PROJET."name" AS COL0
            ,BT_RES_PARTNER_RES_PARTNER."name" AS COL1
            ,BT_PIR_AXE_PIR_AXE."name" AS COL2
   
    FROM pir_projet_ordered BT_PIR_PROJET_PIR_PROJET JOIN
        (
          pir_projet_structure BT_PIR_PROJET_STRUCTURE_PIR_PROJET_STRUCTURE JOIN
          (
          pir_projet_ordered BT_PIR_PROJET_PIR_PROJET LEFT OUTER JOIN pir_axe BT_PIR_AXE_PIR_AXE
          ON ( BT_PIR_PROJET_PIR_PROJET.axe_id = BT_PIR_AXE_PIR_AXE.id )
          )
          ON ( BT_PIR_PROJET_STRUCTURE_PIR_PROJET_STRUCTURE.structure_id = BT_RES_PARTNER_RES_PARTNER.id )
        )
        ON ( BT_PIR_PROJET_STRUCTURE_PIR_PROJET_STRUCTURE.projet_id = BT_PIR_PROJET_PIR_PROJET.id )

This means that Postgresql in not able to process the query:
CET ERROR: missing FROM-clause entry for table "bt_res_partner_res_partner" at character 1742

I wonder where the problem comes from (in Saiku or anywhere else) and how to solve it.

Any help is welcome.

Thanks

Don't see cassandra steps

$
0
0
Hi,

I am exploring pentaho for data export from oracle to cassandra.
I have downloaded pentaho community edition 5.2.0 on mac OS (Yosemite 10.10). When I open the data integration IDE, I don't see any cassandra steps, I could see 'pentaho-cassandra-plugin' folder with plugin jar file under it.
Screen Shot 2015-01-05 at 9.57.47 PM.jpg

Please let me know the steps debug this.

Thanks,
Rajesh.
Attached Images

PDI 5.2 CE: Configuring log tables for concurrent access not possible

$
0
0
Hi,

i am wondering how to configure PDI logging for concurrent access. If i try to add a database-connection-parameter "SEQUENCE_FOR_BATCH_ID" as described in http://wiki.pentaho.com/display/EAI/...current+access within the options pane in database-connection dialogue for my database connection and press ok, nothing is saved. When i reopened the dialogue the parameters-table in options pane is empty.

Is this a Bug or can anybody explain to me what I am doing wrong?

Thanks in advance

Thomas

Credentials through url not working in pentaho 5.2

$
0
0
Hello ,
I have installed prd 5.2 and bi server 5.2.
I tried passing userid and password in url, but it didnt work.
After searching i made 2 changes to my applicationContext-spring-security.xml file at line 22 and 23 by replacing old line with

/api/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS
/plugin/**=securityContextHolderAwareRequestFilterForWS,httpSessionPentahoSessionContextIntegrationFilter,httpSessionContextIntegrationFilter,requestParameterProcessingFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilterForWS,filterInvocationInterceptorForWS


Now i can bypass ,but the issue is i cannot check the report for different parameters i.e. the same report repeats even for different parameters.
Also how can i pass parameters through url in pentaho 5.2.
I have migrated from pentaho 3.7 to 5.2 and not worked in between.

Kindly help.
Viewing all 16689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>