Upload Custom UDFs
Steps for Uploading the Timestamp_Long UDF
From the left-hand menu, click Configuration, then Application Resources.
Select the UDF tab and click the sign to create the TIMESTAMP_LONG UDF. This UDF will convert a string date time to a Timestamp long. The simple class for this UDF using the SAM SDK can be found here.
The jar for this UDF is located in
SAM_EXTENSIONS/custom-udf
.Configure the UDF with the following values:
Steps for Configuring the Get_Week UDF
Select the UDF tab and click the sign to create the GET_WEEK UDF.
The
jar
for this UDF is located inSAM_EXTENSIONS/custom-udf
. This UDF will convert a timestamp string into the week of the year which is required for an enrichment query. The simple class for this UDF using the SAM SDK can be found here.Configure the UDF with the following values: