> 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/9.3-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-output-cp-main-page/select-an-engine-hadoop-file-ouput/using-the-hadoop-file-output-step-on-the-pentaho-engine-cp/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-output-cp-main-page/select-an-engine-hadoop-file-ouput/using-the-hadoop-file-output-step-on-the-pentaho-engine-cp/options-hadoop-file-output-reuse/fields-tab-hadoop-file-output-reuse.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
