MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"MeasureName" : String
,
"MeasureValueType" : String
,
"MultiMeasureAttributeMappings" : [ MultiMeasureAttributeMapping, ... ]
,
"SourceColumn" : String
,
"TargetMeasureName" : String
}
YAML
MeasureName: String
MeasureValueType: String
MultiMeasureAttributeMappings:
- MultiMeasureAttributeMapping
SourceColumn: String
TargetMeasureName: String
Properties
MeasureName
-
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
Required: No
Type: String
Update requires: Replacement
MeasureValueType
-
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
Required: Yes
Type: String
Allowed values:
BIGINT | BOOLEAN | DOUBLE | VARCHAR | MULTI
Update requires: Replacement
MultiMeasureAttributeMappings
-
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
Required: No
Type: Array of MultiMeasureAttributeMapping
Minimum:
1
Update requires: Replacement
SourceColumn
-
This field refers to the source column from which measure-value is to be read for result materialization.
Required: No
Type: String
Update requires: Replacement
TargetMeasureName
-
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
Required: No
Type: String
Update requires: Replacement