interface CastColumnTypeOperationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDataSetPropsMixin.CastColumnTypeOperationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDataSetPropsMixin_CastColumnTypeOperationProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSetPropsMixin.CastColumnTypeOperationProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDataSetPropsMixin.CastColumnTypeOperationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDataSetPropsMixin » CastColumnTypeOperationProperty |
A transform operation that casts a column to a different type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const castColumnTypeOperationProperty: quicksight_mixins.CfnDataSetPropsMixin.CastColumnTypeOperationProperty = {
columnName: 'columnName',
format: 'format',
newColumnType: 'newColumnType',
subType: 'subType',
};
Properties
| Name | Type | Description |
|---|---|---|
| column | string | Column name. |
| format? | string | 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 | string | New column data type. |
| sub | string | The sub data type of the new column. |
columnName?
Type:
string
(optional)
Column name.
format?
Type:
string
(optional)
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.
newColumnType?
Type:
string
(optional)
New column data type.
subType?
Type:
string
(optional)
The sub data type of the new column.
Sub types are only available for decimal columns that are part of a SPICE dataset.

.NET
Go
Java
Python
TypeScript