Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Data Engineering Integration
  3. Mappings
  4. Mapping Optimization
  5. Sources
  6. Targets
  7. Transformations
  8. Python Transformation
  9. Data Preview
  10. Cluster Workflows
  11. Profiles
  12. Monitoring
  13. Hierarchical Data Processing
  14. Hierarchical Data Processing Configuration
  15. Hierarchical Data Processing with Schema Changes
  16. Intelligent Structure Models
  17. Blockchain
  18. Stateful Computing
  19. Appendix A: Connections Reference
  20. Appendix B: Data Type Reference
  21. Appendix C: Function Reference

Extracting a Struct Element Using the Dot Operator

Extracting a Struct Element Using the Dot Operator

Use the dot operator in expressions to extract elements of a struct.
  1. In the transformation, create an output port of the same data type as the return value of the struct element that you want to extract.
  2. In the
    Expression
    column for the output port, click the
    Open
    button.
    The Expression Editor opens.
  3. Delete the existing expression in the editor.
  4. Click the
    Ports
    tab and select the struct port.
  5. Enter a dot after the port name.
    The Developer tool displays a list of elements in the struct.
    The Expression Editor shows a list of elements in the struct.
  6. Select the element that you want to extract.
  7. Click
    Validate
    to validate the expression.
  8. Click
    OK
    to exit the Validate Expression dialog box.
  9. Click
    OK
    to exit the Expression Editor.

0 COMMENTS

We’d like to hear from you!