TablePartition¶
- class pyatlan.model.assets.TablePartition(*, typeName: str = 'TablePartition', attributes: TablePartition.Attributes = None, businessAttributes: Dict[str, Any] | None = None, createdBy: str | None = None, createTime: int | None = None, deleteHandler: str | None = None, guid: str = None, isIncomplete: bool | None = None, labels: List[str] | None = None, relationshipAttributes: RelationshipAttributes | Dict[str, Any] | None = None, status: EntityStatus | None = None, updatedBy: str | None = None, updateTime: int | None = None, version: int | None = None, classifications: List[AtlanTag] | None = None, classificationNames: List[str] | None = None, displayText: str | None = None, entityStatus: str | None = None, relationshipGuid: str | None = None, relationshipStatus: str | None = None, relationshipType: str | None = None, meaningNames: List[str] | None = None, meanings: List[Meaning] | None = None, customAttributes: Dict[str, Any] | None = None, scrubbed: bool | None = None, pendingTasks: List[str] | None = None, uniqueAttributes: Dict[str, Any] | None = None, appendRelationshipAttributes: Dict[str, Any] | None = None, removeRelationshipAttributes: Dict[str, Any] | None = None, addOrUpdateClassifications: List[AtlanTag] | None = None, removeClassifications: List[AtlanTag] | None = None, semantic: SaveSemantic | None = None, depth: int | None = None, immediateUpstream: List[LineageRef] | None = None, immediateDownstream: List[LineageRef] | None = None)[source]¶
Description
- ALIAS: ClassVar[TextField] = <pyatlan.model.fields.atlan_fields.TextField object>¶
Alias for this partition.
- CHILD_TABLE_PARTITIONS: ClassVar[RelationField] = <pyatlan.model.fields.atlan_fields.RelationField object>¶
TBC
- COLUMNS: ClassVar[RelationField] = <pyatlan.model.fields.atlan_fields.RelationField object>¶
TBC
- COLUMN_COUNT: ClassVar[NumericField] = <pyatlan.model.fields.atlan_fields.NumericField object>¶
Number of columns in this partition.
- CONSTRAINT: ClassVar[TextField] = <pyatlan.model.fields.atlan_fields.TextField object>¶
Constraint that defines this table partition.
- EXTERNAL_LOCATION: ClassVar[TextField] = <pyatlan.model.fields.atlan_fields.TextField object>¶
External location of this partition, for example: an S3 object location.
- EXTERNAL_LOCATION_FORMAT: ClassVar[KeywordField] = <pyatlan.model.fields.atlan_fields.KeywordField object>¶
Format of the external location of this partition, for example: JSON, CSV, PARQUET, etc.
- EXTERNAL_LOCATION_REGION: ClassVar[TextField] = <pyatlan.model.fields.atlan_fields.TextField object>¶
Region of the external location of this partition, for example: S3 region.
- IS_PARTITIONED: ClassVar[BooleanField] = <pyatlan.model.fields.atlan_fields.BooleanField object>¶
Whether this partition is further partitioned (true) or not (false).
- IS_QUERY_PREVIEW: ClassVar[BooleanField] = <pyatlan.model.fields.atlan_fields.BooleanField object>¶
Whether preview queries for this partition are allowed (true) or not (false).
- IS_TEMPORARY: ClassVar[BooleanField] = <pyatlan.model.fields.atlan_fields.BooleanField object>¶
Whether this partition is temporary (true) or not (false).
- PARENT_TABLE: ClassVar[RelationField] = <pyatlan.model.fields.atlan_fields.RelationField object>¶
TBC
- PARENT_TABLE_PARTITION: ClassVar[RelationField] = <pyatlan.model.fields.atlan_fields.RelationField object>¶
TBC
- PARTITION_COUNT: ClassVar[NumericField] = <pyatlan.model.fields.atlan_fields.NumericField object>¶
Number of sub-partitions of this partition.
- PARTITION_LIST: ClassVar[TextField] = <pyatlan.model.fields.atlan_fields.TextField object>¶
List of sub-partitions in this partition.
- PARTITION_STRATEGY: ClassVar[KeywordField] = <pyatlan.model.fields.atlan_fields.KeywordField object>¶
Partition strategy of this partition.
- QUERY_PREVIEW_CONFIG: ClassVar[KeywordField] = <pyatlan.model.fields.atlan_fields.KeywordField object>¶
Configuration for the preview queries.
- ROW_COUNT: ClassVar[NumericField] = <pyatlan.model.fields.atlan_fields.NumericField object>¶
Number of rows in this partition.
- SIZE_BYTES: ClassVar[NumericField] = <pyatlan.model.fields.atlan_fields.NumericField object>¶
Size of this partition, in bytes.
- classmethod creator(*, name: str, table_qualified_name: str) TablePartition [source]¶
- classmethod creator(*, name: str, connection_qualified_name: str, database_name: str, database_qualified_name: str, schema_name: str, schema_qualified_name: str, table_name: str, table_qualified_name: str) TablePartition
Builds the minimal object necessary to create a table partition.
- Parameters:
name – name of the TablePartition
connection_qualified_name – unique name of the connection in which to create the TablePartition
database_name – simple name of the Database in which to create the TablePartition
database_qualified_name – unique name of the Database in which to create the TablePartition
schema_name – simple name of the Schema in which to create the TablePartition
schema_qualified_name – unique name of the Schema in which to create the TablePartition
table_name – simple name of the Table in which to create the TablePartition
table_qualified_name – unique name of the table in which this table partition exists
- Returns:
the minimal request necessary to create the table partition