CastColumnTypeOperation - Amazon QuickSight
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CastColumnTypeOperation

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

Contents

Note

In the following list, the required parameters are described first.

ColumnName

Column name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

NewColumnType

New column data type.

Type: String

Valid Values: STRING | INTEGER | DECIMAL | DATETIME

Required: Yes

Format

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.

Type: String

Length Constraints: Maximum length of 32.

Required: No

SubType

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

Type: String

Valid Values: FLOAT | FIXED

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: