# Avro Output

The Avro output step serializes data into an Avro binary or JSON format from the PDI data stream, then writes it to file. [Apache Avro](http://avro.apache.org/docs/current/index.html) is a data serialization system. Avro relies on schema for decoding binary and extracting data.

This output step creates the following files:

* A file containing output data in the Avro format
* An Avro schema file defined by the fields in this step

Fields can be defined manually or extracted from incoming steps.


---

# Agent Instructions: 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:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/avro-output.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
