2023-04-25 16:58:47 +02:00
---
title: createTable
slug: /main-concepts/metadata-standard/schemas/api/data/createtable
---
# CreateTableRequest
*Schema corresponding to a table that belongs to a database*
## Properties
2023-08-27 10:55:55 +02:00
- **`name` **: Name that identifies the this entity instance uniquely. Same as id if when name is not unique. Refer to *../../entity/data/table.json#/definitions/entityName* .
2023-04-25 16:58:47 +02:00
- **`displayName` ** *(string)* : Display Name that identifies this table.
- **`description` **: Description of entity instance. Refer to *../../type/basic.json#/definitions/markdown* .
- **`tableType` **: Refer to *../../entity/data/table.json#/definitions/tableType* .
- **`columns` ** *(array)* : Name of the tables in the database. Default: `None` .
- **Items**: Refer to *../../entity/data/table.json#/definitions/column* .
- **`tableConstraints` ** *(array)* : Default: `None` .
- **Items**: Refer to *../../entity/data/table.json#/definitions/tableConstraint* .
- **`tablePartition` **: Refer to *../../entity/data/table.json#/definitions/tablePartition* .
2023-08-27 10:55:55 +02:00
- **`tableProfilerConfig` **: Refer to *../../entity/data/table.json#/definitions/tableProfilerConfig* .
2023-04-25 16:58:47 +02:00
- **`owner` **: Owner of this entity. Refer to *../../type/entityReference.json* . Default: `None` .
2023-08-27 10:55:55 +02:00
- **`databaseSchema` **: FullyQualified name of the Schema corresponding to this table. Refer to *../../type/basic.json#/definitions/fullyQualifiedEntityName* .
2023-04-25 16:58:47 +02:00
- **`tags` ** *(array)* : Tags for this table. Default: `None` .
- **Items**: Refer to *../../type/tagLabel.json* .
2024-05-06 18:03:50 +05:30
- **`schemaDefinition` **: Schema Definition or DDL statement of a table in SQL. Refer to *../../type/basic.json#/definitions/sqlQuery* . Default: `None` .
2023-08-27 10:55:55 +02:00
- **`retentionPeriod` **: Retention period of the data in the database. Period is expressed as duration in ISO 8601 format in UTC. Example - `P23DT23H` . Refer to *../../type/basic.json#/definitions/duration* .
2023-04-25 16:58:47 +02:00
- **`extension` **: Entity extension data with custom attributes added to the entity. Refer to *../../type/basic.json#/definitions/entityExtension* .
2023-08-27 10:55:55 +02:00
- **`sourceUrl` **: Source URL of table. Refer to *../../type/basic.json#/definitions/sourceUrl* .
- **`domain` ** *(string)* : Fully qualified name of the domain the Table belongs to.
- **`dataProducts` ** *(array)* : List of fully qualified names of data products this entity is part of.
- **Items**: Refer to *../../type/basic.json#/definitions/fullyQualifiedEntityName* .
2023-10-28 00:07:31 +05:30
- **`fileFormat` **: File format in case of file/datalake tables. Refer to *../../entity/data/table.json#/definitions/fileFormat* .
- **`lifeCycle` **: Life Cycle of the entity. Refer to *../../type/lifeCycle.json* .
2023-04-25 16:58:47 +02:00
2023-10-28 00:07:31 +05:30
Documentation file automatically generated at 2023-10-27 13:55:46.343512.