Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Big Data Management
  3. Connections
  4. Mappings in the Hadoop Environment
  5. Mapping Objects in the Hadoop Environment
  6. Processing Hierarchical Data on the Spark Engine
  7. Stateful Computing on the Spark Engine
  8. Monitoring Mappings in the Hadoop Environment
  9. Mappings in the Native Environment
  10. Profiles
  11. Native Environment Optimization
  12. Data Type Reference
  13. Complex File Data Object Properties
  14. Function Reference
  15. Parameter Reference

Map Data Type

Map Data Type

A map data type represents an unordered collection of key-value pair elements. To pass map data through transformations, assign map data type to ports.
A map element is a key and value pair that maps one thing to another. The Spark engine can read and write map data in complex files, and pass through map data in a mapping.

Format

map <primitive_type, data_type>
The following table describes the arguments for this data type:
Argument
Description
map
Name of the map column or port.
primitive_type
Data type of the key in a map element.
The key must be of a primitive data type.
data_type
Data type of the value in a map element.
The value can be of a primitive or complex data type.

Map Example

The following map column represents map data with an integer key and a string value to map customer ids with customer names:
custid_name <integer, string>
The following example shows data values for the custid_name column:
custid_name
<26745,'John Baer'>
<56743,'Bobbi Apperley'>
<32879,'Linda Bender'>


Updated December 13, 2018