Upper

Upper Converts to uppercase text and require no parameters. Input must be a string.

This function is useful when string inputs of a dataset need to be converted to uppercase.

Example 1:

Step 1: Create an empty upper_example_1 using AIOps studio as shown in the below screenshot.

Empty pipeline

Step 2: Add the following pipeline code/commands into the above-created pipeline as shown in the below screenshot:

You can copy the below code into your pipeline and execute that in your environment. ##### This pipeline creates a simple record using AIOps studio. ##### RDA function upper is used to demo this example. ##### This pipeline adds couple of rows with string column values ##### with upper and mixed case strings. Uses dm function 'upper' to convert string ##### values to all 'upper' case values. @dm:empty --> @dm:addrow id = 1 & col = "Hello World" --> @dm:addrow id = 2 & col = "CFX RDA" --> @dm:addrow id = 3 & col = "AIOps Solution in ML World" --> @dm:map attr = "col" & func = "upper"

Pipeline code added to empty pipeline created

Step 3: Click verify button to make sure syntax and pipeline code is correct (as shown below)

Pipeline code is verified using 'Verify' button as shown above.

Step 4: Click execute button and execute the pipeline. RDA will execute the pipeline without any errors (as shown below)

Successful execution of pipeline without any errors

Step 5: RDA uses the dm function 'upper' to change the values of each column value and convert it into upper case string values and prints the output for each dataset (or row) as shown in the following screenshot.

Successful execution of pipeline using dm function 'upper' and prints output

Last updated