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/sam-custom-udf-0.0.5.jar
.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/sam-custom-udf-0.0.5.jar
. 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: