Field Type Converter
Supported pipeline types:
|
You configure the processor to use one of the following methods to convert data types:
- By Field Name
-
Convert the data type of a field with the specified name. For example, you can convert a field named
dropoff_datetime
with the String data type to the Date data type.You can specify individual field names or use field path expressions to specify sets of fields to convert.
- By Data Type
-
Convert the data type of all fields with the specified type. For example, you can convert all fields with the Decimal data type to the String data type.
You can convert data types by field name or by data type. You cannot use both methods in the same stage.
Configure the conversion for an appropriate, compatible data type. Consider the actual data in the field as well, since even valid conversions can truncate data. For example, converting a field from Integer to Decimal is valid. Converting a field from Decimal to Integer is also valid, but the conversion can truncate any decimal values in the data.