tPaloCube
Performs operations on a given Palo cube.
This component creates, deletes or clears Palo cubes from existing
dimensions in a Palo database.
tPaloCube Standard properties
These properties are used to configure tPaloCube running in the Standard Job framework.
The Standard
tPaloCube 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 in which the operation is to take |
Cube |
Type in the name of the cube where the operation is to take |
Cube type |
From the drop-down list, select the type of cube on which the – Normal: this is the normal and – Attribut: an Attribute cube is created with a normal – User Info: User Info cubes can be created/modified |
Action on cube |
Select the operation you want to carry out on the cube
– Create cube: the cube does not
– Create cube if not exists: the – Delete cube if exists and – Delete cube: the cube is – Clear cube: the data is |
Dimension list |
Add rows and enter the name of existing database dimension’s to be |
Advanced settings
tStat |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
CUBENAME: the name of the cube. This is an After variable
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 |
Can be used as a standalone component for dynamic cube creation |
Connections |
Outgoing links (from this component to another):
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 |
The cube creation process does not create dimensions from scratch, Due to license incompatibility, one or more JARs required to use |
Creating a cube in an existing database
The Job in this scenario creates a new two dimensional cube in the Palo demo database
Biker.
To replicate this scenario, proceed as follows:
Configuring the tPaloCube component
- Drop tPaloCube from the Palette onto the design workspace.
-
Double-click tPaloCube 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. -
In the Database field, type in the
database name in which you want to create the cube,
Biker in this example. -
In the Cube field, type in the name you
want to use for the cube to be created, for example, bikerTalend
. -
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. -
In the Action on cube field, select the
action to be performed. In this scenario, select Create cube. -
Under the Dimension list table, click the
plus button twice to add two rows into the table. -
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.