Upper
Last updated
Last updated
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.
Step 1: Create an empty upper_example_1 using AIOps studio as shown in the below screenshot.
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"
Step 3: Click verify button to make sure syntax and pipeline code is correct (as shown below)
Step 4: Click execute button and execute the pipeline. RDA will execute the pipeline without any errors (as shown below)
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.