# Join Rows

## ![](/files/1OHxwEhW1hzXaN8UPlHy) Join Rows

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

The Join Rows (cartesian product) transform allows you to combine/join multiple input streams ([Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product)) without joining on keys. It works best with one row from each stream. You can add a condition to only join when a condition is met.

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

### Options

| Option                      | Description                                                                                                                                                           |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name              | Name of the transform this name has to be unique in a single pipeline.                                                                                                |
| Temp directory              | Specify the name of the directory where the system stores temporary files in case you want to combine more then the cached number of rows.                            |
| TMP-file prefix             | This is the prefix of the temporary files that will be generated.                                                                                                     |
| Max. cache size             | The number of rows to cache before the system reads data from temporary files; required when you want to combine large row sets that do not fit into memory.          |
| Main transform to read from | Specifies the transform from which to read most of the data; while the data from other transforms are cached or spooled to disk, the data from this transform is not. |
| The Condition(s)            | You can enter a complex condition to limit the number of output row.                                                                                                  |


---

# 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/joinrows.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.
