mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
726 B
Plaintext
27 lines
726 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}};`
|