1
0
Fork 0
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:
Felix Yan 2016-05-15 05:13:42 -05:00
commit 4cfc265cbd

19
pages/common/odps-func.md Normal file
View 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}};`