tPaloInputMulti
Retrieves the stored or calculated values in combination with the element records
out of a cube.
The tPaloInputMulti retrieves data (elements as well
as values) from a Palo cube.
tPaloInputMulti Standard properties
These properties are used to configure tPaloInputMulti running in the Standard Job framework.
The Standard
tPaloInputMulti component belongs to the Business Intelligence family.
The component in this framework is available in all Talend
products.
Basic settings
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to Note that when a Job contains the parent Job and the child Job, |
Host Name |
Enter the host name or the IP address of the host server. |
Server Port |
Type in the listening port number of the Palo server. |
Username and |
Enter the Palo user authentication data. To enter the password, click the […] button next to the |
Database |
Type in the name of the database where the elements of interest |
Cube |
Type in the name of the cube where the dimension elements to be |
Cube type |
Select the cube type from the drop-down list for the cube of – Normal – Attribut – System – User Info |
Commit size |
Type in the row count of each batch to be retrieved. |
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
|
 |
Built-in: The schema is created |
 |
Repository: The schema already |
Cube Query |
Complete this table with the query you want to use to retrieve |
 |
Column: the schema columns are |
 |
Dimensions: type in each of the Warning:
The dimension order listed in this column must be |
 |
Elements: type in the dimension |
Advanced settings
tStat |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component requires an output component. |
Connections |
Outgoing links (from this component to another): Row: Main
Trigger: Run if; On Subjob Ok; On Incoming links (from one component to this one): Row: Iterate
Trigger: Run if; On Subjob Ok; On For further information regarding connections, see |
Limitation |
According to the architecture of OLAP-Systems only one single Due to license incompatibility, one or more JARs required to use |
Retrieving dimension elements from a given cube
The Job in this scenario retrieves several dimension elements from a demo Palo cube
Sales.
To replicate this scenario, proceed as follows:
Setting up the Job
- Drop tPaloInputMulti and tLogRow from the component Palette onto the design workspace.
-
Right-click tPaloInputMulti to open its
contextual menu. -
In the menu, select Row > Main to connect tPaloInputMulti to tLogRow
with a row link.
Setting up the DB connection
-
Double-click the tPaloInputMulti
component to open its Component
view. -
In the Host name field, type in the host
name or the IP address of the host server, localhost
for this example. -
In the Server Port field, type in the
listening port number of the Palo server. In this scenario, it is
7777. -
In the Username field and the Password field, type in the authentication
information. In this example, both of them are
admin.
Configuring the Cube Query
-
In the Database field, type in the
database name in which the cube to be used is stored. -
In the Cube field, type in the cube name
in which the dimensions of interests are stored. In this scenario, it is one
of the demo cubes Sales. -
In the Cube type field, select the
Normal type from the drop-down list for
the cube to be created, meaning this cube will be normal and default. -
Next to the Edit schema field, click the
three-dot button to open the schema editor. -
In the schema editor, click the plus button to add the rows of the schema
to be edited. In this example, add rows corresponding to all of the
dimensions stored in the Sales cube:
Products, Regions, Months, Years, Datatypes,
Measures. Type in them in the order given in this
cube. -
Click OK to validate this editing and
accept the propagation of this change to the next component. Then these
columns are added automatically into the Column column of the Cube
query table in the Component
view. If the order is not consistent with the one in the
Sales cube, adapt it using the up and down arrows
under the schema table. -
In the Dimensions column of the Cube query table, type in each of the dimension
names stored in the Sales cube regarding to each row in
the Column column. In the
Sales cube, the dimension names are:
Products, Regions, Months, Years, Datatypes,
Measures. -
In the Elements columns of the Cube query table, type in the dimension elements
you want to retrieve regarding to the dimensions they belong to. In this
example, the elements to be retrieved are All Products,
Germany and Austria (Belonging
to the same dimension Regions, these two
elements are entered in the same row and separated with a comma.),
Jan, 2009,
Actual, Turnover.
Job execution
-
Click tLogRow to open its Component view.
-
In the Mode area, select the Table (print values in cells of a table) check
box to display the execution result in a table. - Press F6 to run the Job.
The dimension elements and the corresponding Measure values display in the
Run console.