---
title: tableProperty
description: "DataFrameWriterV2.tableProperty method in PySpark: Adds a table property."
canonical_url: https://docs.databricks.com/aws/en/pyspark/reference/classes/dataframewriterv2/tableProperty
---

# tableProperty

Adds a table property.

## Syntax

```
tableProperty(property, value)
```

## Parameters

| Parameter  | Type | Description         |
| ---------- | ---- | ------------------- |
| `property` | str  | The property key.   |
| `value`    | str  | The property value. |

## Returns

`DataFrameWriterV2`
