将例行程序(Routine)中的“description”选项替换为“description_;”,如下所示:
在创建函数时:
CREATE FUNCTION myFunction(input STRING) RETURNS STRING LANGUAGE js AS """ return input.toUpperCase(); """ OPTIONS( description_ = "This is my function" );
在更新函数时:
UPDATE FUNCTION myFunction(input STRING) RETURNS STRING LANGUAGE js AS """ return input.toLowerCase(); """ OPTIONS( description_ = "This is my updated function" );