July 30, 2023

tPaloInputMulti – Docs for ESB 7.x

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
reuse the connection details you already defined.

Note that when a Job contains the parent Job and the child Job,
Component List presents only the
connection components in the same Job level.

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
Password

Enter the Palo user authentication data.

To enter the password, click the […] button next to the
password field, and then in the pop-up dialog box enter the password between double quotes
and click OK to save the settings.

Database

Type in the name of the database where the elements of interest
reside.

Cube

Type in the name of the cube where the dimension elements to be
retrieved are stored.

Cube type

Select the cube type from the drop-down list for the cube of
concern. This type may be:

Normal

Attribut

System

User Info

Commit size

Type in the row count of each batch to be retrieved.

Schema and Edit
Schema

A schema is a row description. It defines the number of fields
(columns) to be processed and passed on to the next component. When you create a Spark
Job, avoid the reserved word line when naming the
fields.

Click Edit
schema
to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this
    option to view the schema only.

  • Change to built-in property:
    choose this option to change the schema to Built-in for local changes.

  • Update repository connection:
    choose this option to change the schema stored in the repository and decide whether
    to propagate the changes to all the Jobs upon completion. If you just want to
    propagate the changes to the current Job, you can select No upon completion and choose this schema metadata
    again in the Repository Content
    window.

 

Built-in: The schema is created
and stored locally for this component only. Related topic: see

Talend Studio User
Guide
.

 

Repository: The schema already
exists and is stored in the Repository, hence can be reused. Related
topic: see
Talend Studio User
Guide
.

Cube Query

Complete this table with the query you want to use to retrieve
data. The columns to be filled are:

 

Column: the schema columns are
added automatically to this column once defined in the schema
editor. The schema columns are used to stored the retrieved
dimension elements.

 

Dimensions: type in each of the
dimension names of the cube from which you want to retrieve
dimension elements.

Warning:

The dimension order listed in this column must be
consistent with the order given in the cube that stores
these dimensions.

 

Elements: type in the dimension
elements from which data is retrieved. If several elements are
needed from one single dimension, separate them with a comma.

Advanced settings

tStat
Catcher Statistics

Select this check box to collect log data at the component
level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see
Talend Studio

User Guide.

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
Subjob Error; On Component Ok; On Component Error.

Incoming links (from one component to this one):

Row: Iterate

Trigger: Run if; On Subjob Ok; On
Subjob Error; On Component Ok; On Component Error.

For further information regarding connections, see

Talend Studio User
Guide
.

Limitation

According to the architecture of OLAP-Systems only one single
value (text or numeric) could be retrieved from the cube. The
MEASURE column and the
TEXT column are fixed and
read-only.

Due to license incompatibility, one or more JARs required to use
this component are not provided. You can install the missing JARs for this particular
component by clicking the Install button
on the Component tab view. You can also
find out and add all missing JARs easily on the Modules tab in the
Integration
perspective of your studio. You can find more details about how to install external modules in
Talend Help Center (https://help.talend.com)
.

Retrieving dimension elements from a given cube

The Job in this scenario retrieves several dimension elements from a demo Palo cube
Sales.

tPaloInputMulti_1.png

To replicate this scenario, proceed as follows:

Setting up the Job

  1. Drop tPaloInputMulti and tLogRow from the component Palette onto the design workspace.
  2. Right-click tPaloInputMulti to open its
    contextual menu.
  3. In the menu, select Row > Main to connect tPaloInputMulti to tLogRow
    with a row link.

Setting up the DB connection

  1. Double-click the tPaloInputMulti
    component to open its Component
    view.

    tPaloInputMulti_2.png

  2. In the Host name field, type in the host
    name or the IP address of the host server, localhost
    for this example.
  3. In the Server Port field, type in the
    listening port number of the Palo server. In this scenario, it is
    7777.
  4. 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

  1. In the Database field, type in the
    database name in which the cube to be used is stored.
  2. 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.
  3. 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.
  4. Next to the Edit schema field, click the
    three-dot button to open the schema editor.

    tPaloInputMulti_3.png

  5. 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.
  6. 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.
  7. 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
    .
  8. 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

  1. Click tLogRow to open its Component view.

    tPaloInputMulti_4.png

  2. In the Mode area, select the Table (print values in cells of a table) check
    box to display the execution result in a table.
  3. Press F6 to run the Job.

The dimension elements and the corresponding Measure values display in the
Run console.

tPaloInputMulti_5.png


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x