# Avro File Input

## <img src="/files/qmnHLciaGDseFI67RUil" alt="" data-size="line"> Avro File Input

### Description <a href="#description" id="description"></a>

The Avro File Input transform simply reads Avro records from one or more files.

Each record is encapsulated in an Avro field, each value has its own Schema and record.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | <sup>✓</sup> |
| Flink      | <sup>✓</sup> |
| Dataflow   | <sup>✓</sup> |

### Options

| Option                         | Description                                                                   |
| ------------------------------ | ----------------------------------------------------------------------------- |
| Transform name                 | Name of the transform. Note: This name has to be unique in a single pipeline. |
| Filename field                 | Select the field which contains the filename(s) of the Avro files to read     |
| Avro output field name         | The name of the field which will contain the Avro records                     |
| Maximum number of rows to read | Specify a positive number to limit the amount of rows read from all files.    |


---

# 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.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/avro-file-input.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.
