tVectorWiseInput
Executes a DB query with a strictly defined order which must correspond to the
schema definition.
tVectorWiseInput reads a database and
extracts fields based on a query. It passes on the field list to the next component via a
Main row link.
tVectorWiseInput Standard properties
These properties are used to configure tVectorWiseInput running in the Standard Job framework.
The Standard
tVectorWiseInput component belongs to the Databases family.
The component in this framework is generally available.
Basic settings
|
Property type |
Either Built-in or |
|
|
Built-in: No property data stored |
|
|
Repository: Select the repository |
|
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
|
Use an existing connection |
Select this check box and in the Component 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 across Job levels, see |
|
Server |
Database server IP address. |
|
Port |
Listening port number of the DB server. |
|
Database |
Name of the database. |
|
Username and |
Authentication information of the database user. 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 (columns) to This component offers the This dynamic schema |
|
|
Built-In: You create and store the |
|
|
Repository: You have already created |
|
Click Edit schema to make changes to the schema.
|
|
|
Table name |
Name of the table to be read. |
|
Query type and |
Enter your DB query, ensuring that the field order matches the
If using the dynamic schema feature, the SELECT |
|
Guess Query |
Click this button to generate a query that corresponds to your |
|
Guess schema |
Click this button to retrieve the schema from the table. |
Advanced settings
|
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespace |
|
Trim column |
Define columns from which to remove leading and trailing |
|
tStat |
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 covers all possibile SQL queries forVertica |
| Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
Related scenario
For tVectorWiseInput related scenarios, see: