Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions

Transformation Language Reference

Transformation Language Reference

Complex Operators

Complex Operators

Use complex operators to access elements in a complex data type. You can access elements in an array, map, or struct data type.
You can use complex operators in mappings that run on the Spark engine.
The following table lists the complex operators in the transformation language:
Operator
Meaning
[ ]
Subscript operator.
Use a subscript operator to access one or more elements in an array. You can also use a subscript operator to access the value corresponding to a given key in a key-value pair of a map.
.
Dot operator.
Use a dot operator to access an element in a struct. You can also use a dot operator in an array of structs to access elements in each struct.
When you use a dot operator in an array of structs, it returns the elements of the same name within each struct as an array. To access elements in a nested array or struct, you can use a combination of complex operators.

0 COMMENTS

We’d like to hear from you!