Data Transformation Engine Functions and Expressions Reference Guide
Chapter 3 - Function Reference GETPARTITIONNAME
Functions and Expressions Reference Guide
122
GETPARTITIONNAME
The GETPARTITIONNAME function returns a text item whose value is the name of
the partition to which the data belongs.
Syntax
GETPARTITIONNAME (single-partitioned-object-expression)
Meaning
GETPARTITIONNAME (partitioned_object)
Returns
This function returns a single-simple-object-name.
Returns a text item that represents the name of the partition to which the data
for partitioned_object belongs.
Example
GETPARTITIONNAME (Transaction:File)
The type defined by Transaction is a partitioned object that has three
partitions: Add, Delete, and Modify. In this example, if the input data for
Transaction belongs to the Delete partition, the
GETPARTITIONNAME
function returns Delete.
Uses
Use
GETPARTITIONNAME when you need to know the name of the partition to
which the data for the given object belongs.
Related Function
PARTITION