DataSetCastColumnTypeOperation

data class DataSetCastColumnTypeOperation(val columnName: String, val format: String? = null, val newColumnType: DataSetColumnDataType, val subType: DataSetColumnDataSubType? = null)

A transform operation that casts a column to a different type.

Constructors

Link copied to clipboard
constructor(columnName: String, format: String? = null, newColumnType: DataSetColumnDataType, subType: DataSetColumnDataSubType? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Column name.

Link copied to clipboard
val format: String? = null

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

Link copied to clipboard

New column data type.

Link copied to clipboard

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