> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-output-cp-main-page/options-hadoop-file-output-reuse/fields-tab-hadoop-file-output-reuse.md).

# Fields tab

The **Fields** tab is where you define properties for the fields being exported. The following table describes each field:

| Field         | Description                                                                                                                                                                                                                                                                                                                                                                 |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**      | The name of the field                                                                                                                                                                                                                                                                                                                                                       |
| **Type**      | Type of the field can be either **String**, **Date** or **Number**.                                                                                                                                                                                                                                                                                                         |
| **Format**    | An optional mask for converting the format of the original field.                                                                                                                                                                                                                                                                                                           |
| **Length**    | <p>The length of the field depends on the following field types:</p><ul><li><strong>Number</strong></li></ul><p>Total number of significant figures in a number.</p><ul><li><strong>String</strong></li></ul><p>Total length of string.</p><ul><li><strong>Date</strong></li></ul><p>Length of printed output of the string (for example, four is a length for a year).</p> |
| **Precision** | Number of floating point digits for number-type fields.                                                                                                                                                                                                                                                                                                                     |
| **Currency**  | Symbol used to represent currencies (`$5,000.00` or `€5.000,00` for example).                                                                                                                                                                                                                                                                                               |
| **Decimal**   | A decimal point can be a period (`.`) as in `10,000.00` or it can be a comma (`,`) as in `5.000,00`.                                                                                                                                                                                                                                                                        |
| **Group**     | A grouping can be a comma (`,`) as in `10,000.00` or it can be a period (`.`) as in `5.000,00`.                                                                                                                                                                                                                                                                             |
| **Trim Type** | The trimming method to apply to a string. Trimming only works when no field length is specified.                                                                                                                                                                                                                                                                            |
| **Null**      | If the value of the field is null, the specified string is inserted into the output text file.                                                                                                                                                                                                                                                                              |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-output-cp-main-page/options-hadoop-file-output-reuse/fields-tab-hadoop-file-output-reuse.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
