1
0
Fork 0
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:
程亦超(何兮) 2016-05-12 20:27:17 +08:00
parent f4e69318b7
commit 3d4bea19ce

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 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}};`