mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 13:53:34 +00:00
Update cheatsheets
This commit is contained in:
26
odps-func
Normal file
26
odps-func
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# odps func
|
||||
|
||||
> Manage functions in ODPS (Open Data Processing Service).
|
||||
> See also `odps`.
|
||||
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
|
||||
|
||||
- Show functions in the current project:
|
||||
|
||||
`list functions;`
|
||||
|
||||
- Create a Java function using a `.jar` resource:
|
||||
|
||||
`create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';`
|
||||
|
||||
- Create a Python function using a `.py` resource:
|
||||
|
||||
`create function {{func_name}} as {{script.Func}} using '{{script.py}}';`
|
||||
|
||||
- Delete a function:
|
||||
|
||||
`drop function {{func_name}};`
|
||||
Reference in New Issue
Block a user