ViewDefinitionInput
¶
Source code in docs_src/capo_glue/types/view_definition_input.py
is_managed
instance-attribute
¶
is_managed: NotRequired[NullableBoolean]
Specifies whether the materialized view is managed by Glue.
is_protected
instance-attribute
¶
is_protected: NotRequired[NullableBoolean]
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
last_refresh_type
instance-attribute
¶
last_refresh_type: NotRequired[LastRefreshType]
The type of the materialized view's last refresh. Valid values: Full, Incremental.
refresh_seconds
instance-attribute
¶
refresh_seconds: NotRequired[RefreshSeconds]
Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.
representations
instance-attribute
¶
representations: NotRequired[ViewRepresentationInputList]
A list of structures that contains the dialect of the view, and the query that defines the view.
spark_pipeline_info
instance-attribute
¶
spark_pipeline_info: NotRequired[SparkPipelineInfoMap]
A map of key-value pairs containing Spark Declarative Pipelines (SDP) information for the materialized view.
sub_object_version_ids
instance-attribute
¶
sub_object_version_ids: NotRequired[ViewSubObjectVersionIdsList]
List of the Apache Iceberg table versions referenced by the materialized view.
sub_objects
instance-attribute
¶
sub_objects: NotRequired[ViewSubObjectsList]
A list of base table ARNs that make up the view.
sub_objects_statistics
instance-attribute
¶
sub_objects_statistics: NotRequired[SubObjectsStatisticsList]
Statistics for each sub-object referenced by the materialized view, such as the source type, Glue version ID, and the partition, file, and byte counts. Each entry describes one sub-object, identified by its source type.
view_version_id
instance-attribute
¶
view_version_id: TableVersionId
The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
view_version_token
instance-attribute
¶
view_version_token: NotRequired[VersionString]
The version ID of the Apache Iceberg table.