tPaloRule
Manages rules in a given cube.
The tPaloRule creates or modifies rules in a given
cube.
tPaloRule Standard properties
These properties are used to configure tPaloRule running in the Standard Job framework.
The Standard
tPaloRule 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 dimensions applying the |
Cube |
Type in the name of the cube whose dimension information is |
Cube rules |
Complete this table to perform various actions on specific
Definition: type in the rule to be |
 |
External Id: type in the |
 |
Comment: type in comment for this |
 |
Activated: select this check box |
 |
Action: select the action to be – Create: create this – Delete: delete this – Update: update this |
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 can be used in standalone for rule 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 |
Update or deletion of a rule is available only when this rule has Due to license incompatibility, one or more JARs required to use |
Creating a rule in a given cube
The Job in this scenario creates a rule applied on dimensions of a given cube.
To replicate this scenario, proceed as follows:
Setting up the DB connection
-
Drop tPaloRule from the component
Palette onto the design
workspace. -
Double-click the tPaloRule 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. -
In the Database field, type in the
database name in which the dimensions applying the created rules reside,
Biker in this example. -
In the Cube field, type in the name of
the cube which the dimensions applying the created rules belong to, for
example, Orders.
Setting the Cube rules
-
Under the Cube rules table, click the
plus button to add a new row. -
In the Cube rules table, type in
['2009'] = 123
in the Definition column,OrderRule1
in the External Id column andPalo Demo
in the Comment column.
Rules
-
In the Activated column, select the check
box. - In the Action column, select Create from the drop-down list.
Job execution
Press F6 to run the Job.
The new rule has been created and the value of every 2009
element is 123.