mirror of https://github.com/CrimsonTome/tldr.git
20 lines
447 B
Markdown
20 lines
447 B
Markdown
# 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}};`
|