# Partition Schema

## Partition Schema

### Description

![partition schema](/files/UJYC6gg4Wmz90xLwhDso)

Describes a partition schema. A partition schema defines how many ways the row stream will be split. The names used for the partitions can be anything you like.

### Related Plugins

None/All

### Options

| Option                                   | Default | Description                                   |
| ---------------------------------------- | ------- | --------------------------------------------- |
| Partition schema name                    |         | The name to be used for this partition schema |
| Dynamically create the schema definition | ?       |                                               |
| Number of partitions?                    | 4       |                                               |
| Partitions                               |         | list of partition IDs                         |

### Samples (Integration Tests)

* integration-tests/partitioning/0006-partitioned-when-stream-lookup-should-fail2.hpl
* integration-tests/partitioning/0004-copies-repartitioning.hpl
* integration-tests/partitioning/0001-static-partitioning.hpl
* integration-tests/partitioning/0005-partitioned-stream-lookup.hpl
* integration-tests/partitioning/0006-partitioned-when-stream-lookup-should-fail.hpl
* integration-tests/partitioning/0003-repartitioning.hpl
* integration-tests/partitioning/0005-non-partitioned-stream-lookup.hpl
* integration-tests/partitioning/0002-dynamic-partitioning.hpl


---

# 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/index-2/partition-schema.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.
