Component family |
Business Intelligence/Cube OLAP/Palo |
|
Function |
This component writes data (elements as well as values) into a |
|
Purpose |
This component takes the input stream and writes it to a given |
|
Basic settings |
Use an existing connection |
Select this check box and in the Component List click the NoteWhen a Job contains the parent Job and the child Job, Component |
Connection configuration NoteUnavailable when using an existing connection. |
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 cube of interest |
|
Cube |
Type in the name of the cube in which the incoming data is |
|
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 written into the |
|
Schema and Edit |
A schema is a row description. It defines the number of fields to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
|
|
|
Built-in: The schema is created |
|
|
Repository: The schema already |
|
Measure value |
Select the column from the input stream which holds the Measure or |
|
Splash mode |
Select the splash mode used to write data into a consolidated – Add: it writes values to the – Default: it uses the default – Set: it simply sets or – Disable: it applies no For further information about the Palo splash modes, see Palo’s |
|
Add values |
Select this check box to add new values to the current values for |
|
Use eventprocessor |
Select this check box to call the supervision server. |
|
Die on error |
This check box is cleared by default, meaning to skip the row on |
Advanced settings |
tStat |
Select this check box to collect log data at the component |
|
Enable parallel execution |
Select this check box to perform high-speed data processing, by treating multiple data flows
Warning
|
Connections |
Outgoing links (from this component to another): Row: Main
Trigger: Run if; On Component Ok; Incoming links (from one component to this one): Row: Main; Reject For further information regarding connections, see |
|
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 Talend Studio |
|
Usage |
This component requires an input component. |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User 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 |
Numeric measures are only be accepted as Double or String type. Due to license incompatibility, one or more JARs required to use this component are not |
The Job in this scenario writes new values in the Sales cube
given as demo in the Demo database installed with Palo.
To replicate this scenario, proceed as follows:
-
Drop tFixedFlowInput and tPaloOutputMulti from the component Palette onto the design workspace.
-
Right-click tFixedFlowInput to open its
contextual menu. -
In this menu, select Row > Main to connect this component to tPaloOutputMulti.
-
Double-click the tFixedFlowInput
component to open its Component
view. -
Click the three-dot button to open the schema editor.
-
In the schema editor, click the plus button to add 7 rows and rename them
respectively as Products, Regions, Months, Years, Datatypes,
Measures and Values. The order of these
rows must be consistent with that of the corresponding dimensions in the
Sales cube and the type of the
Value column where the measure value resides is set
to double/Double. -
Click OK to validate the editing and
accept the propagation prompted by the dialog box that pops up. Then the
schema column labels display automatically in the Value table under the Use single
table check box, in the Mode
area. -
In the Value table, type in values for
each row in the Value column. In this
example, these values are: Desktop L, Germany, Jan, 2009, Actual,
Turnover, 1234.56.
-
Double-click tPaloOutputMulti to open its
Component view. -
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,
Demo in this example. -
In the Cube field, type in the name of
the cube you want to write data in, for example,
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. -
In the Measure Value field, select the
Measure element. In this scenario, select Value.
The Job in this scenario tries to write data into the Sales cube
but as the elements of interest do not exist in this cube, the inflow data is
rejected.
To replicate this scenario, proceed as follows:
-
Drop tFixedFlowInput, tPaloCheckElements, tPaloOutputMulti and tLogRow from the component Palette onto the design workspace.
-
Right-click tFixedFlowInput to open its
contextual menu. -
In this menu, select Row > Main to connect this component to tPaloCheckElements.
-
Do the same to connect tPaloOutputMulti
using row link. -
Right-click tPaloCheckElements to open
its contextual menu. -
In this menu, select Row > Reject to connect this component to tLogRow.
-
Double-click the tFixedFlowInput
component to open its Component
view. -
Click the three-dot button to open the schema editor.
-
In the schema editor, click the plus button to add 7 rows and rename them
respectively as Products, Regions, Months, Years, Datatypes,
Measures and Values. The order of these
rows must be consistent with that of the corresponding dimensions in the
Sales cube and the type of the
Value column where the measure value resides is set
to double/Double. -
Click OK to validate the editing and
accept the propagation prompted by the dialog box that pops up. Then the
schema column labels display automatically in the Value table under the Use single
table check box, in the Mode
area. -
In the Value table, type in values for
each row in the Value column. In this
example, these values are: Smart Products, Germany, Jan, 2009,
Actual, Turnover, 1234.56. The Smart
Products element does not exist in the
Sales cube.
-
Double-click tPaloCheckElements to open
its Component view. -
In the Host name field, type in
localhost. -
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,
Demo in this example. -
In the Cube field, type in the name of
the cube you want to write data in, for example,
Sales. -
In the On Element error field, select
Reject row from the drop-down
list. -
In the element table at the bottom of the Basic
settings view, click the Element
type column in the Value row and select
Measure from the drop down list.
-
Double-click tPaloOutputMulti to open its
Component view. -
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,
Demo in this example. -
In the Cube field, type in the name of
the cube you want to write data in, for example,
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. -
In the Measure Value field, select the
Measure element. In this scenario, select Value.