tSAPHanaInput
Executes a database query with a defined command which must correspond to the
schema definition.
tSAPHanaInput reads a database and extracts fields based
on a query. Then it passes on rows to the next component via a Main row link.
tSAPHanaInput Standard properties
These properties are used to configure tSAPHanaInput running in the Standard Job framework.
The Standard
tSAPHanaInput component belongs to the Databases family.
The component in this framework is available in all Talend products with Big Data
and in Talend Data Fabric.
connector. The properties related to database settings vary depending on your database
type selection. For more information about dynamic database connectors, see Dynamic database components.
Basic settings
Database |
Select a type of database from the list and click |
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to Note: When a Job contains the parent Job and the child Job, if you
need to share an existing connection between the two levels, for example, to share the connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection |
Host |
Database server IP address. |
Port |
Listening port number of database server. |
Schema |
Name of the database schema. |
Username and Password |
Database authentication data. To enter the password, click the […] button next to the |
Schema and Edit |
A schema is a row description. It defines the number of fields |
 |
Built-in: The schema is created |
 |
Repository: The schema already |
 |
Click Edit
|
Table Name |
Name of the table to be written. Note that only one table can be |
Query Type |
Either Built-in or Repository |
 |
Built-in: Fill in manually the |
 |
Repository: Select the relevant |
Guess Query |
Click the Guess Query button to |
Guess schema |
Click the Guess schema button to |
Query |
Enter your database query paying particularly attention to |
Advanced settings
Additional JDBC Parameters |
Specify additional connection properties in the database |
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespaces |
Trim column |
Remove leading and trailing whitespaces from defined columns.
Note:
Clear Trim all the String/Char |
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
NB_LINE: the number of rows processed. This is an After
QUERY: the query statement being processed. This is a Flow
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 is standalone as it includes the SAP HANA |
Support |
tSAPHanaInput should be used to interact with the ERP part |
Dynamic settings |
Click the [+] button to add a row in the table The Dynamic settings table is For examples on using dynamic parameters, see Reading data from databases through context-based dynamic connections and Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Related scenarios
No scenario is available for the Standard version of this component yet.