mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
odps-func: add page
Change-Id: Iffbbfff1252d40ef3671f9174a09e54fd1fa6de9
This commit is contained in:
parent
f4e69318b7
commit
3d4bea19ce
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 resouce:
|
||||
|
||||
`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…
Add table
Reference in a new issue