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

Convert Relational or Hierarchical Data to Struct Data

Convert Relational or Hierarchical Data to Struct Data

You can convert relational or hierarchical data in one or more columns to hierarchical data of type struct. Use the
Create Struct Port
wizard in the Developer tool to perform the conversion.
For example, a relational table contains three columns city, state, and zip. You create a mapping to convert the data in the three columns to one hierarchical column. Select the three ports in the transformation and use the Create Struct Port wizard to generate struct data with the selected ports as its elements.
The wizard performs the following tasks:
  • Creates a complex data type definition based on the ports that you select.
  • Adds an Expression transformation to the mapping.
  • Creates a struct output port to represent the struct data.
  • Creates an expression that uses the STRUCT_AS function to generate struct data.


Updated November 09, 2018