CSV fields

Pentaho Data Integration

Version
9.3.x
Audience
anonymous
Part Number
MK-95PDIA003-15

When CSV data is read, the table defines the fields to read as input from the CSV file.


CSV fields

Enter the information for the Catalog Input step fields as shown in the following table.

Column Description
Name The name of the field.
Type The data type of the field.
Format Enter the number format. See Number formats for a description of format symbols.
Position The position is needed when processing the 'Fixed' Filetype. It is zero based, so the first character starts with position ‘0’.
Length
The value of this field depends on the format:
  • Number: Total number of significant figures in a number.
  • String: Total length of the string.
  • Date: Length of printed output of the string. For example, ‘4’ only returns the year.
Precision
The value of this field depends on the format:
  • Number: Number of floating point digits.
  • String, Date, Boolean: Unused.
Currency Used to interpret the symbol used to represent currencies (for example, $ or ).
Decimal Used to represent a decimal point, either a dot '.' or a comma ',' (for example, 5,000.00 or 5.000,00).
Null if Used to set as null (empty) if the string is equal to the specified value.
Default Used to specify a default value to use in case the field in the CSV file was not specified (empty).
CatalogType The data type as defined in Data Catalog. For example, UTF8.
Get Fields (button) Click to retrieve a list of fields derived from the source file in Data Catalog.
Minimal width (button) Click to minimize the field length by removing unnecessary characters. If selected, string fields will no longer be padded to their specified length.