snippetbashTip
odpscmd func — Manage functions in ODPS (Open Data Processing Service). See also: `odpscmd`. More information: <htt
Viewed 0 times
commandodpsodpscmd funcclimanageopendatafunctions
Problem
How to use the
odpscmd func command: Manage functions in ODPS (Open Data Processing Service). See also: odpscmd. More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.Solution
odpscmd func — Manage functions in ODPS (Open Data Processing Service). See also: odpscmd. More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.[Interactive] Show functions in the current project:
list functions;[Interactive] Create a Java function using a
.jar resource:create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';[Interactive] Create a Python function using a
.py resource:create function {{func_name}} as {{script.Func}} using '{{script.py}}';[Interactive] Delete a function:
drop function {{func_name}};Code Snippets
[Interactive] Show functions in the current project
list functions;[Interactive] Create a Java function using a `.jar` resource
create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';[Interactive] Create a Python function using a `.py` resource
create function {{func_name}} as {{script.Func}} using '{{script.py}}';[Interactive] Delete a function
drop function {{func_name}};Context
tldr-pages: common/odpscmd func
Revisions (0)
No revisions yet.