mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 20:17:57 +01:00
Merge pull request #883 from onesuper/odps-func-tldr
odps-func: add page
This commit is contained in:
commit
4cfc265cbd
1 changed files with 19 additions and 0 deletions
19
pages/common/odps-func.md
Normal file
19
pages/common/odps-func.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# odps func
|
||||
|
||||
> Manage functions in ODPS (Open Data Processing Service).
|
||||
|
||||
- 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}};`
|
Loading…
Reference in a new issue