> 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/orc-output/options-orc-output-reuse/fields-tab-orc-output-kettle.md).

# Fields tab

![ORC Output step](/files/2bRY9NykKo6bbvVZBa1R)

In the **Fields** tab, you can define fields that make up the **ORC type** description created by this step. The table below describes each of the options for configuring the **ORC type** description.

| Field             | Description                                                                                                           |
| ----------------- | --------------------------------------------------------------------------------------------------------------------- |
| **ORC path**      | Specify the name of the field as it will appear in the ORC data file or files.                                        |
| **Name**          | Specify the name of the PDI field.                                                                                    |
| **ORC type**      | Defines the data type of the field.                                                                                   |
| **Precision**     | Specify the total number of digits in the number (only applies to the Decimal ORC type). The default value is 20.     |
| **Scale**         | Specify the number of digits after the decimal point (only applies to the Decimal ORC type). The default value is 10. |
| **Default value** | Specify the default value of the field if it is null or empty.                                                        |
| **Null**          | Specifies if the field can contain null values.                                                                       |

To avoid a transformation failure, make sure the **Default value** field contains values for all fields where **Null** is set to `No`.

You can define the fields manually, or you can provide a path to the PDI data stream and click **Get Fields** to populate all the fields. During the retrieval of the fields, a PDI type is converted to an applicable ORC type, as shown in the table below. You can also change the selected ORC type by using the **Type** drop-down or by entering the type manually.


---

# 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/orc-output/options-orc-output-reuse/fields-tab-orc-output-kettle.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.
