August 17, 2023

tPaloCube – Docs for ESB 5.x

tPaloCube

tPaloCube_icon32.png

tPaloCube Properties

Component family

Business Intelligence/Cube OLAP/Palo

 

Function

This component creates, deletes or clears Palo cubes from existing
dimensions in a Palo database.

Purpose

This component performs operations on a given Palo cube.

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

When a Job contains the parent Job and the child Job, Component
list
presents only the connection components in the same Job
level.

Connection configuration

Note

Unavailable when using an existing connec­tion.

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 in which the operation is to take
place.

 

Cube

Type in the name of the cube where the operation is to take
place.

 

Cube type

From the drop-down list, select the type of cube on which the
operation is to be carried out:

Normal: this is the normal and
default type of cube.

Attribut: an Attribute cube is created with a normal
cube.

User Info: User Info cubes can be created/modified
with this component.

 

Action on cube

Select the operation you want to carry out on the cube
defined:

– Create cube: the cube does not
exist and will be created.

– Create cube if not exists: the
cube is created if it does not exist.

Delete cube if exists and
create
: the cube is deleted if it already exists and
a new one will be created.

Delete cube: the cube is
deleted from the database.

Clear cube: the data is
cleared from the cube.

 

Dimension list

Add rows and enter the name of existing database dimension’s to be
used in the cube. The order of the dimensions in the list determines
the order of the dimensions created.

Advanced settings

tStat
Catcher Statistics

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

Global Variables

CUBENAME: the name of the cube. This is an After variable
and it returns a string.

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.

Connections

Outgoing links (from this component to another):

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
.

Usage

Can be used as a standalone component for dynamic cube creation
with a defined dimension list.

Log4j

The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User
Guide
.

For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.

Limitation

The cube creation process does not create dimensions from scratch,
so the dimensions to be used in the cube must be created
beforehand.

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. For details, see https://help.talend.com/display/KB/How+to+install+external+modules+in+the+Talend+products
or the section describing how to configure the Studio in the Talend Installation and Upgrade
Guide
.

Scenario: Creating a cube in an existing database

The Job in this scenario creates a new two dimensional cube in the Palo demo database
Biker.

Use_Case_tPaloCube1.png

To replicate this scenario, proceed as follows:

Configuring the tPaloCube component

  1. Drop tPaloCube from the Palette onto the design workspace.

  2. Double-click tPaloCube to open its
    Component view.

    Use_Case_tPaloCube2.png
  3. In the Host name field, type in the host
    name or the IP address of the host server, localhost
    for this example.

  4. In the Server Port field, type in the
    listening port number of the Palo server. In this scenario, it is
    7777.

  5. In the Username field and the Password field, type in the authentication
    information. In this example, both of them are
    admin.

  6. In the Database field, type in the
    database name in which you want to create the cube,
    Biker in this example.

  7. In the Cube field, type in the name you
    want to use for the cube to be created, for example, bikerTalend.

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

  9. In the Action on cube field, select the
    action to be performed. In this scenario, select Create cube.

  10. Under the Dimension list table, click the
    plus button twice to add two rows into the table.

  11. In the Dimension list table, type in the
    name for each newly added row to replace the default row name. In this
    scenario, type in Months for the first row and
    Products for the second. These two dimensions exist
    already in the Biker database where the new cube will be created.

Job execution

Press F6 to run the Job.

A new cube has been created in the Biker database and the two
dimensions are added into this cube.

Use_Case_tPaloCube3.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