Skip to content

CastColumnTypeOperation

Source code in docs_src/capo_quicksight/types/cast_column_type_operation.py
class CastColumnTypeOperation(TypedDict, closed=True):
    column_name: "capo_quicksight.types.column_name.ColumnName"
    """<p>Column name.</p>"""
    new_column_type: "capo_quicksight.types.column_data_type.ColumnDataType"
    """<p>New column data type.</p>"""
    sub_type: NotRequired[
        "capo_quicksight.types.column_data_sub_type.ColumnDataSubType"
    ]
    """<p>The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.</p>"""
    format: NotRequired["capo_quicksight.types.type_cast_format.TypeCastFormat"]
    """<p>When casting a column from string to datetime type, you can supply a string in a format supported by Quick Sight to denote the source data format.</p>"""

column_name instance-attribute

column_name: ColumnName

Column name.

format instance-attribute

format: NotRequired[TypeCastFormat]

When casting a column from string to datetime type, you can supply a string in a format supported by Quick Sight to denote the source data format.

new_column_type instance-attribute

new_column_type: ColumnDataType

New column data type.

sub_type instance-attribute

sub_type: NotRequired[ColumnDataSubType]

The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.