# Feature Transformation

A *feature transformation* is a function that takes some set of input data and\
returns some set of output data. Feature transformations can happen on either raw data or derived data.

## Feature Transformation Engines

Feature transformations can be executed by three types of "transformation engines":

1. The Feast Feature Server
2. An Offline Store (e.g., Snowflake, BigQuery, DuckDB, Spark, etc.)
3. A Stream processor (e.g., Flink or Spark Streaming)

The three transformation engines are coupled with the [communication pattern used for writes](/v0.48-branch/getting-started/architecture/write-patterns.md).

Importantly, this implies that different feature transformation code may be\
used under different transformation engines, so understanding the tradeoffs of\
when to use which transformation engine/communication pattern is extremely critical to\
the success of your implementation.

In general, we recommend transformation engines and network calls to be chosen by aligning it with what is most\
appropriate for the data producer, feature/model usage, and overall product.


---

# 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.feast.dev/v0.48-branch/getting-started/architecture/feature-transformation.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.
