Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

Step 1. Create a Transformation that Transforms Avro

Step 1. Create a Transformation that Transforms Avro

Create a Data Processor transformation with Avro input, Avro output, or both.
  1. In the Developer tool, click
    File
    New
    Transformation
    .
  2. Select the Data Processor transformation and click
    Next
    .
  3. Enter a name for the transformation and browse for a Model Repository location to put the transformation.
  4. Select
    Create a data processor using a wizard
    and click
    Next
    .
  5. Select Avro or another input format and click
    Next
    .
  6. If you selected Avro as the input format, browse to select an .xsd schema file or sample Avro file. Click
    Next
    .
    Developer adds an .xsd schema file representing the Avro hierarchy to the Model Repository. If you select a sample file, Developer creates a test file from the first record in the sample file. You can use this file to test the transformation. To find the file, in the
    Ports
    panel of the
    Overview
    view, check the path file listed in the
    Input Location
    field.
  7. Select Avro or another output format and click
    Next
    .
  8. If you select Avro as an output format, browse to select a related schema or sample Avro file. Click
    Next
    .
  9. Click
    Finish
    .
    The Developer tool creates the transformation in the repository with the relevant components, such as an XMap to transform the Avro hierarchy into another hierarchy format. The
    Overview
    view appears in the Developer tool.
  10. To edit the components in the transformation, in the
    Objects
    view, double click the transformation component to open it in the relevant editor.